OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: greg147 on 08 Apr 2005, 14:14:51

Title: Cancelling animation
Post by: greg147 on 08 Apr 2005, 14:14:51
Hi all,

I'm having trouble getting animations to work. I have a west guy who starts off in a west present trigger with this in its init line
Code: [Select]
guy1 switchmove "CombatDeadVer3"
So he starts off looking dead. But i'm trying to make it so when the player enters a area, he gets up and joins the player. So I have this in the other trigger:
Code: [Select]
guy1 switchmove "Stand"; [a1] join aP
But the guy just gets up and then falls over looking dead again every time. Is there another way to get it to cancel the animation? :P
Thanks.

Title: Re:Cancelling animation
Post by: Blanco on 08 Apr 2005, 14:16:23
unitname switchmove ""
Title: Re:Cancelling animation
Post by: greg147 on 08 Apr 2005, 15:41:09
Thanks, I solved it.  ;)

I fiddled around with switchmove and playmove and it worked  ;D