Hey dude, sorry for getting down on you about the spelling and that, I guess I'm a bit rude sometimes, I apologsie.
Anyway, the character is good!Dont use timers in the script though, if theres an FPS drop it will mess up the damage.
You need to use the Setframe, incframe and frameatend commands instead of ANIMATE.
It's been a while since I wrote an FPSC script, so forgive me for being rusty, and maybe take this to the script board toget someone more current to look at it, but maybe something like:
desc = army dude 4 (with added Peanut butter, and fingers
;Triggers
:state=0,plrdistwithin=200,plrcanbeseen:state=1,rotatetoplr,setframe=99
:state=1,plrdistfurther=70:rotatetoplr,movefore=2,animate=96
:state=1,plrdistwithin=70:state=2
:state=2:setframe=98,state=3
:state=3:rotateplr,incframe=98
:state=3,frameatend=98,plrdistwithin=70:plraddhealth=-5,state=4
:state=3,frameatend=98:state=4
:state=4:setframe=99,state=5
:state=5:incframe=99
:state=5,frameatend=99:state=0
For the above script to work you will need to SPLIT your attack animation up in the FPE file, so that the first half of the attack (from the start, until the point it hits the player) is animation 98, then the second half (from where he hits the player, to the end) as animation 99.
Incase this script doesn't work, here's the concept so that someone else can fix it...
At the end of animation 98 (the swing) it checks to see if the player is still in range, if the player is in range, it deals damage and continues to the end of the swing in animation 99, if the player isn't in range, it still goes to the end of the swing but doesn't deal damage.
I hope this helps man. This is a fun and original character, and I'd like for you to be able to get the most out of him! I'm sorry I can't be more help and write you a perfect script, but it's been about a year since I last touched FPSC!
I want robotic legs.