SetAnimation
SetAnimation

Changes the current animation of the instance.

bSuccess = myActive.SetAnimation( Animation_Object )
bSuccess = myActive.SetAnimation( Animation_Name )
bSuccess = myActive.SetAnimation( Animation_Index )

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

Parameters
  • Animation_Object
    Object returned by CreateAnimation to play
  • Animation_Name
    Name of the animation to play
  • Animation_Index
    Index of the animation to play
Comments

This function only effects one instance.

See also
Active:SetAnimation [class]
Active:SetAnimationNear
Active:GetAnimation



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