I am trying to write a simple script to get the player to freeze whilst in a trigger zone (for say 5 secs). The script should only be called once.
I am new to scripting but it seems like a simple task. Here is my attempt which evidently doesn't work
;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:plrfreeze=1,timerstart,state=2
:state=2,timergreater=50:state=3
:state=3:plrfreeze=0,state=4
Btw I am using Plys Mod if that changes anything.
Any help appreciated.
"If you were a man I would punch you, I'd punch you right in the mouth"