OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SharkDog on 29 Mar 2003, 01:10:25

Title: Getting out switchmove?
Post by: SharkDog on 29 Mar 2003, 01:10:25
Hi,

I have these JSDF custom anims, and i have some guards standing in them.
But how can i make the guards stop standing in that anim when they see the enemy? cause otherwise they won't shoot.
Title: Re:Getting out switchmove?
Post by: Sgt.Zeke on 29 Mar 2003, 05:20:43
Ok, I'll try to explain this the best I can...... Here it goes

Ok let's say you set the switchmove "EffectStandAtt" (or whatever the JSDF switchmove you have on). which would look like    

p1 switchmove "EffectStandTalk"

then make a trigger (anyone)....and in the condition field you put      

p1 knowsabout [place enemy name here, NOT in bracketts]

then in the activation field place...

p1 switchmove "EndEffectStandTalk"

so the guy (p1) will end it's switchmove....
Hope this helps... -Sgt.Z