Jump to content
Sign in to follow this  
slodin

Unit still doing "PlayMove" even tho he is dead[Solved]

Recommended Posts

[solved]

Hi everyone..I have littlen problem here

Umm..I have set a crewman to "RepairingKneel" and i am using the playMove command..but this unit is still "repairing" even tho a few HE shells from the M119 dropped on him, and blasted him like 10m away...:eek: (What a freak!)

My idea was: A scene where a sniper team calling in an artillery on a resting convoy, and the crewman is fixing his BMP-3 (It's full AI controlled, even the artillery is not called in by the player)

I was able to make all parts working for this scene..but this crewman just won't die...actually, he is dead, but his dead body still plays the move "RepairingKneel"; I can take his weapons and everything, but it just seems like he is alive.

Anyone have any ideas how to fix this action?...Thanks

Edited by slodin
question solved

Share this post


Link to post
Share on other sites

One thing with using playmove is that many if not all animations cannot be stopped for any reason, even if the unit dies.

Best to use unitname switchmove "RepairingKneel" instead, then use a trigger something like

Condition - ! (Alive UnitName)

On Activation - UnitName switchmove "";

That will allow the unit to stop the animation and die.

Share this post


Link to post
Share on other sites

ok thanks for the fast reply, and it worked by setting another trigger to default his actions..I didn't know by setting "" means clearing the action lol..thx

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×