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 / Chat window trigger problem

Author
Message
Pazjf
15
Years of Service
User Offline
Joined: 17th Nov 2009
Location:
Posted: 17th Jan 2010 19:57
I tried to create two trigger zones in my game. The first is called 'introzone' and the second is called 'chatzone2'
For some unknown reason, the introzone also triggers the chatzone, so rather than just once conversation showing, it shows the first, and then the second, even though the player hasn't even moved at this point.

'Introzone':

;Artificial Intelligence Script

;Header

desc = Plr In Zone

;Triggers

:state=0,plrwithinzone=1:activateallinzone=1
:state=0:hudreset,hudx=26,hudy=88,hudimagefine=languagebank\english\gamecore\huds\level1\Level1chat1.dds,hudname=chat1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=26,hudy=88,hudimagefine=languagebank\english\gamecore\huds\level1\Level1chat2.dds,hudname=chat2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=26,hudy=88,hudimagefine=languagebank\english\gamecore\huds\level1\Level1chat3.dds,hudname=chat3,hudhide=1,hudmake=display,state=1

:state=1:plrfreeze=31400,state=2
:state=2:timerstart,state=3
:state=3:hudshow=chat1,hudfadeout=chat1
:state=3,timergreater=7500:timerstart,state=4
:state=4:hudshow=chat2,hudfadeout=chat2
:state=4,timergreater=7500:timerstart,state=5
:state=5:hudshow=chat3,hudfadeout=chat3
:state=5,timergreater=7500:timerstart,destroy


'Chatzone2'

;Artificial Intelligence Script

;Header

desc = Plr In Zone

;Triggers

:state=0,plrwithinzone=1:activateallinzone=1
:state=0:hudreset,hudx=26,hudy=88,hudimagefine=languagebank\english\gamecore\huds\level1\l1c2t1.dds,hudname=chat2_1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=26,hudy=88,hudimagefine=languagebank\english\gamecore\huds\level1\l1c2t2.dds,hudname=chat2_2,hudhide=1,hudmake=display,state=1

:state=1:timerstart,state=3
:state=3:hudshow=chat2_1,hudfadeout=chat2_1
:state=3,timergreater=7500:timerstart,state=4
:state=4:hudshow=chat2_2,hudfadeout=chat2_2,state=5
:state=5,timergreater=7500:destroy



Can anyone tell me what Im doing wrong or is this a bug? I am very confused haha

Login to post a reply

Server time is: 2024-11-25 03:43:03
Your offset time is: 2024-11-25 03:43:03