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 / Key pickup display HUD script

Author
Message
ally
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location:
Posted: 17th Jan 2007 19:42 Edited at: 17th Jan 2007 19:44
I'm attempting to write a script that maintains a HUD display image after a key has been picked up and remains on screen until the player uses the key on it's correctly associated locked door.



I'm getting the key image to stay on screen after it has been picked up, but having issue with the getting it to fade out after use. Any ideas?
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 17th Jan 2007 20:02
needs to be done differently.

Dont make the hud fadeout on the key script.

make it fade out using a customised door script.

ally
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location:
Posted: 17th Jan 2007 21:54 Edited at: 17th Jan 2007 21:54
Just what I was thinking, thanks Butter. I'll post my result to help others.

The following script should be applied to the door key:


Then apply this script to the corresponding door:


I tried initally to use the fadeout action on the hud, but it would pop in then fade and pop out again. Using the simple action "hudunshow" simlpy turns off the display when the door action is performed.
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 17th Jan 2007 22:09
glad I could be of service.

Login to post a reply

Server time is: 2024-11-23 08:50:09
Your offset time is: 2024-11-23 08:50:09