What could be wrong with my scripts here?
I want a hud to appear once all the targets are destroyed in an area.
Trigger Zone for checking if the variable target has reached 3:
:;Artificial Intelligence Script
;Header
desc = hud
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\Level1\Ronan7.tga,hudname=ronan7,hudhide=1,hudmake=display,state=1
:state=1,varequal=target 3:hudshow=ronan7,timerstart
:state=1,timergreater=3000:hudfadeout=ronan7,state=2
Target Main script in increase variable when enough damage is taken to destroy it:
;Artificial Intelligence Script
;Header
desc = add variable
;Triggers
:state=0,shotdamage=2:addvar=target 1,state=1
Trigger Zone to set and declare variable target:
;Artificial Intelligence Script
;Header
desc = declare target
;Triggers
:state=0:dimvar=target,setvar=target 0,state=1
Any help?