# Turn Animation Properties On With Blend In/Out
Grammar — Turn animation properties prop|Animation Properties on for target, blend in using blendInAnimation|BlendIn, and blend out using blendOutAnimation|BlendOut
Flags —Action
Enable a special animation property, play the Blend In Animation when the property is turned on, and play the Blend Out Animation when the property is turned off. The unit must be set up to use the specified animation property. An example of an animation property is “Fly” for Terran production buildings. If the unit is not set up to use one of the Blend Animations, then it will ignore it. Use the Turn Animation Properties Off action to turn off the property that was turned on by this action.
# Arguments
actor
— Targetstring
<modelanim> — Propertiesstring
<modelanim> — Blend In Animationstring
<modelanim> — Blend Out Animation
Returns — void
void libNtve_gf_TurnAnimationPropertiesOnWithBlendInOut(
actor lp_target,
string lp_prop,
string lp_blendInAnimation,
string lp_blendOutAnimation,
);
# Related
Category: Animation / Basic
- Play Animation —
void
— libNtve_gf_PlayAnimation - Play Animation On Doodads In Region —
void
— libNtve_gf_PlayAnimationOnDoodadsInRegion - Kill Doodads In Region —
void
— libNtve_gf_KillDoodadsInRegion - Clear Animation —
void
— libNtve_gf_ClearAnimation - Clear Animation On Doodads In Region —
void
— libNtve_gf_ClearAnimationOnDoodadsInRegion - Turn Animation Properties On —
void
— libNtve_gf_TurnAnimationPropertiesOn - Turn Animation Properties On With Blend In/Out —
void
— libNtve_gf_TurnAnimationPropertiesOnWithBlendInOut - Turn Animation Properties Off —
void
— libNtve_gf_TurnAnimationPropertiesOff - Turn All Animation Properties Off —
void
— libNtve_gf_TurnAllAnimationPropertiesOff
# Examples
— None found —