SetAnimation
SetAnimation

Changes the current animation of all instances

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 selected instances. If you have previously used a SelectXYZ function, call SelectAll to reset the selection.

See also
Active:GetAnimationFrom
Active:SetAnimation [instance]
Active:GetAnimation



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