SetAnimationNear
SetAnimationNear

Changes the current animation of the instance.

bSuccess = myActive.SetAnimationNear( Animation_Name )

Return value
TRUE if the animation was changed successfully, otherwise FALSE.

Parameters
  • Animation_Name
    Name of the animation to play
Comments

This function only effects one instance. If the requested animation could not be found, similar animations are tried. For example, choosing "Running" will try "Walking" or "Stopped" if it is not found.

See also
Active:SetAnimation
Active:GetAnimation



JAM © 2005 no one in particular
Project started by David Evans in 2005