Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Will this script work?

Author
Message
Hamburger
15
Years of Service
User Offline
Joined: 23rd Jun 2009
Location: Grand Rapids MI
Posted: 12th Aug 2010 22:14
Did I do this right? The script works like this, first you walk up to a pda, and then it asks if you want to view a text log. Then it shows a hud that covers the entire screen(the text log) and once you're finished reading it you can press enter to get out of it (oh and by the way I replaced the scancode for the return key with "enter" in the script cause I forgot what the scacode for enter was.

Also this is a modification of a script i found on my system, it was called Audio log pda or something like that. I don't remember who or what it was from.

SH4773R
15
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 12th Aug 2010 23:39
Looks fine 2 me

Who the hell is General Failure? And why is he trying to read my hard disk?

My software never has bugs. It just develops random features.
Mr illusionest
16
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 13th Aug 2010 01:20 Edited at: 13th Aug 2010 01:25
Well I guess It has 2 mistakes , that is scancodeeypressed=enter , That's not correct ( I think ) , You should replace enter with the key value , or You replace the whole condition with plrusingaction=1 .
The 2nd mistake is hudhide=text , It should be hudunshow=text or hudfadeout=text , Hudhide only uses numeric values 1 or 0 and placed on the HUD creation line to determine if the HUD would appear on start or wait for the appear commands ( Which are hudshow=text or hudfadein=text ) .
Otherwise guess it has no mistakes .
Cheers

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Hamburger
15
Years of Service
User Offline
Joined: 23rd Jun 2009
Location: Grand Rapids MI
Posted: 13th Aug 2010 04:56
About the enter thing- I knew that was there. But thanks for the informaton! I'm just starting to undersetand the fpi language.
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 15th Aug 2010 02:04
Unhelpful Titles

Please do not simply write "Noob Question", "I am a newb", "One Noobie Question", "A question", "Please help", "This isn't working" or anything similar as the title of your post. We have a search facility, and meaningless titles do not help others find answers to their questions. It will also help you to get quicker responses if people have an idea of your thread content.



For KeithC

Login to post a reply

Server time is: 2025-06-01 11:05:55
Your offset time is: 2025-06-01 11:05:55