Quote: "You don't actually need to repeat the animation frames unless you want to, just apply an offset to the animation index number in the script, depending on the weapon held. The index in the fpe should stay the same.
See my BOSS COMMANDO for details."
Thanks Bond
I'll try that, because the 389 offset didn't work. (maybe I am doing something wrong)
Here is the really wierd part...
I made two scripts for this effect and they work.
So I copied those and changed the variable used.
Then I made two instances of my newly animated character.
Gave each one a different name and the different scripts so they would not conflict.
However, each one works fine when I do them first, but then when I shoot the other one, it doesn't do it.
I'm not sure what Lee has going on in there for headshots, but I am getting really strange results.
I'll look at the Boss Commando Bond, thanks.
I may just have to set my characters up for headshot only kills and play the animation without a check.
That way the destroy script will call this regardless, since the only way to get there will be by headshot.
I want this for zombies anyway so I may be able to work this out for them, but it would have been nice to have it on other characters too.
Thanks
Edit
I looked at the Boss Commando's FPE, AI MAIN, and Destroy script.
Conclusion: I am totally confused by what you mean offset 50.
I only saw you calling animation 58 & 59 but the FPE doesn't even declare an animation 58 or 59, so I am confused as to what you mean.
Do you mean that is calls your animation 108 and 109 when you say 58 or 59 in the destroy script?
I'll just trial and error this until you have enough free time to help me more, because his animations are impressive.
It looks as if you totally rebuilt them instead of building on the stock ones. (very nice)
I know you are to busy to explain this in detail, but thanks for steering me in the right direction.
I'm going to see if I can work out the multiple character problem and just use this for zombies, since I know they will be unarmed. (except in 'Battle of the Dead')