OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OsamaHunter on 04 May 2003, 20:21:06
-
Yeh I have a mission where the civilians are suposed to drop to the ground with hands on head surrendering when my army gets near them. And at the end my group is suppose to surrender with hands behind back. How do I do those. I think its sumthin like "switchmove sumthinsumthin". I need some help.
-
Search the FAQ.
And try the switchmove animation list. (http://www.ofpec.com/editors/resource_view.php?id=471)
-
Ok this is what I have:
Civ1 is the name os my unit I want surrendering
The trigger is
10 by 10, west detect east(which is civ)
condition this
on activation civ1 switchMove "EffectStandSurUniv"
The problem is, when my unit gets near the civ, civ automatically drops to ground and doesnt surrender. Why is that?
But when I set it to east present, they automatically do the animation.
-
Osama,
Did you try these four animations do help elimiate the look you are searching for?
FXStandSur
FXStandSurDead
FXStandSurDown
FXStandSurUniv
IW
-
Use "playMove" if you want a smooth transition to the surrendering position. "switchMove" just skips to that animation.
It's possible the civilian needs a weapon to perform the animation but you could always try the various surrenders (already listed).