OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kundich on 29 May 2005, 14:57:26
-
Anybody know of an animation for a surrender where the unit is on his knees with hands behind his head? As a follow up, any idea how to convert that to an animation with hands behind his back? I want to incorporate these into a nonlethal exposition mission for campaign.
Sorry to ask, but hopefully you can help.
Thanks,
ADM
-
Try this demo thing from Macguba and ponq in the Editors Depot Kundich.
http://www.ofpec.com/editors/resource_view.php?id=673
Planck
-
Thanks for the reference. It's fantastic, although with all the different animations, it can feel overwhelming.
So I found one of the animations I want: FXExecution. Unfortunately, neither switchMove nor playMove seems to lock the animation in place, i.e. the unit returns to standing position rather than remaining in place. Any ideas on that?
I set it up so that the unit executing the animation has setBehaviour "SAFE" or "CARELESS"; and setCombatMod "BLUE". What do you think?
Thanks,
ADM
-
I'm not too hot on the details, but....I think it depends where you launch it from.
trigger
waypoint
init field
etc etc.
Try them all.
Planck
-
I'm afraid you're right, which will needlessly complicate a script. Oh well. I guess I've got no choice on it. I suspect waypoint is the one for this, but I will let you know.
Thanks,
ADM
-
I had the same prob long time ago and I found the solution, but I can't explain why it works.
Normaly myunit playmove "fxexecutiondead" doesn't work, because fxexecutiondead is a switchmove command.
but...
it prevents the unit switch back to standing position.
I know It makes no sense but it really works :)
myunit switchmove "fxexecution"
~2.8
myunit playmove "fxexecutiondead"
exit
also read http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=ce272bf83aaff429137206567eb82687;act=ST;f=7;t=34220;hl=playmove+prevent
-
Okay, Blanco: you were right. It worked. You were also right that it makes no sense, but thanks for the tip and the info.
Thanks,
ADM