OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Soldier8Boy on 29 Aug 2002, 21:23:10
-
Whenever I use the switchmove and an animation the guy just flickers quickly. It seems as if he did the animation at super sonic speed... can anyone help pls?
-
switchmove moves the unit to that posistion instantly (well close enough) some animations are switchmove only - but your command isnt
use 'playmove' instead
:thumbsup:
-
Maybe you've used a wrong command?
I've found this three but have only tested the first.
EffectStandSitDownVer1
EffectStandSitDownVer2
EffectStandSitDownStill
Greetz
Plage
-
Try this:
this setBehaviour "safe"; this switchMove "EffectStandSitDown"
or replace the switchMove with playMove
I noticed that the ones with ending 'Ver1', 'Ver2', 'Still' only worked on versions on pre-1.75v.
Hope this helped :joystick: :beat:
Hunted...
-
as ive said - on the pre 1.46 animations - switchmove instantly forces the unit to the animation.
If you use a command that can use 'playmove' then they will do a slow controlled movement to the animation - so to make him sit down use:
unitname playmove "efffectstandsitdown"
animations after 1.75 (the new animations) all use swithmove.