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 / Trigger Zone and Hud Display

Author
Message
morphosis comics009
18
Years of Service
User Offline
Joined: 14th Jul 2006
Location:
Posted: 28th Oct 2006 19:06
Hello,
I did search the forums for this and tried all I can do... no luck Basically, I want it when the player is in the trigger zone a hud is displayed. I don't want the trigger zone to be destroyed.

Thanks so much if you could help.

Here is my ugly code:
////

:state=0,plrdistwithin=200:state=2





:state=0:hudreset,hudx=50,hudy=75,hudimagefine=gamecore\text\comic\cop1.tga,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=75,hudimagefine=gamecore\text\comic\cop1.tga,hudname=talk1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=75,hudimagefine=gamecore\text\comic\cop2.tga,hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=75,hudimagefine=gamecore\text\comic\evid_1.tga,hudname=talk3,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=160:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=20
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1,timerstart
:state=20,timergreater=100:state=30
:state=30,plrdistwithin=160:rotatetoplr
:state=30,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=40
:state=40,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2,timerstart
:state=40,timergreater=100:state=50
:state=50,plrdistwithin=160:rotatetoplr
:state=50,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=60
:state=60,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3,timerstart
:state=60,timergreater=100:state=2

:state=2,plrdistfurther=60:state=10

;End of Script



;End of Script
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 28th Oct 2006 22:50
search, this has been discussed many times before, i know i already answered this question 3 times, do a search.

Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 7th Nov 2006 01:52 Edited at: 7th Nov 2006 01:53
Just remove the destroy script from the zone. And make sure the main script "loops" or go back to an earlier state.

Nue B. or not Nue B. That is the question.

Login to post a reply

Server time is: 2024-11-23 04:34:16
Your offset time is: 2024-11-23 04:34:16