Hi,
I have a soldier that has just performed "switchMove FXexecution"
He does this, and is then shot. but because of the animation, he stays in his position.
SO, in order that he performes the daeth animation when shot, I have created a script in his initialization field called "deathloop" which constantly runs, here it is:
;this loop will check when East Man has been shot, and activate the death animation:
#checkloop
if ((getDammage EMtwo) == 1) then goto "death"
~ 0.01
goto "checkloop"
#death
EMtwo switchMove FXexecutionDead
EXIT
There is no error message, but at the same time, you can shoot the hell out of him if you want. but he'll be dammed if he wants to die!
Any ideas what is going wrong?
Thanks