i made this script for my game The Game Creating Hero so when the player comes into the zone it freezes him until the end but the freeze part wont work,some help is what i need:
;Artificial Intelligence Script
;my script
desc = Display Objectives Within Zone
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\tgc\meet1.dds,hudname=meet1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\tgc\meet2.dds,hudname=meet2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\tgc\lee3.dds,hudname=lee3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=25,hudy=30,hudimagefine=gamecore\text\tgc\objective1.dds,hudname=objective1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=25,hudy=30,hudimagefine=gamecore\text\tgc\objective2.dds,hudname=objective2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\tgc\meet3.dds,hudname=meet3,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:state=2
:state=2:hudshow=meet1,plrfreeze=1,timerstart,state=3
:state=3,timergreater=5000:hudunshow=meet1,hudshow=meet2,state=4
:state=4,timergreater=10000:hudunshow=meet2,hudshow=meet3,state=5
:state=5,timergreater=14000:plrfreeze=0,hudunshow=meet3,hudshow=lee3,hudshow=objective1,activateifused=1,state=6
:state=6,timergreater=17000:hudunshow=lee3,globalvar=1,state=7
:state=7,varequal=1:hudunshow=objective1,hudshow=objective2
;End of Script
A.K.A. djmaster