Hi,
I trying to create objectives with variable. If player reach something the Objective var is changing(incvar).
But the script doesn't check did variable has specific value.
;Artificial Intelligence Script
;Header
;desc = Zadania
;Triggers
:state=0:dimvar=Objective
:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\text\obj1.dds,hudname=obj1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\text\obj2.dds,hudname=obj2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\text\obj3.dds,hudname=obj3,hudhide=1,hudmake=display
:state=0:state=1
:state=1,varequal=Objective 1:hudshow=obj1,timerstart,state=2
:state=2,timergreater=4000:hudfadeout=obj1,state=3
:state=3,varequal=Objective 2:hudshow=obj2,timerstart,state=4
:state=4,timergreater=4000:hudfadeout=obj2,state=5
:state=5,varequal=Objective 3:hudshow=obj3,timerstart,state=6
:state=6,timergreater=4000:hudfadeout=obj3