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