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 / Spawn a HUD By Pressing Key?

Author
Message
AdrianoJones Wannabe
15
Years of Service
User Offline
Joined: 2nd Jul 2009
Location: Ontario, Canada
Posted: 12th Aug 2009 04:50
Hey, is there anyway so that if I press a certain key, for example "ENTER", and then a HUD appears on the screen, like "there seems to be something over there." Like, resident evil style.
-Adrian

I love Taylor Swift.
Hey guys! Help me! Join the creative design forums! http://creativedesign.candorweb.com/index.php
Bibo4PC
16
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 12th Aug 2009 07:30 Edited at: 12th Aug 2009 07:31


press the key to view message, again to hide it.. if u wanna assign it to an entity add (plrdiswithin=40) to the first and third state.. if u wanna assign it to a trigger zone add (plrwithinzone), if u want message to display if he presses the button again add (,state=1) to the last line..

TIP: u might wanna read th official community guide it'll help u with these little scripts plus it'll give u a lot of experience scripting..

Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 12th Aug 2009 07:39
...just be sure that you dont keep the parenthesis in the above script, nor add any Quotation marks "" like you do in HTML...

Login to post a reply

Server time is: 2024-11-25 05:23:11
Your offset time is: 2024-11-25 05:23:11