NewDirection
NewDirection

Creates a new direction for the animation.

AnimationObject = myAnimationGroup.NewDirection( Angle, Animation, FPS, Width, Height )
AnimationObject = myAnimationGroup.NewDirection( Angle, Animation, FPS )

Return value
The newly created animation object

Parameters
  • Angle
    The angle (in degrees) for the new animation
  • Animation
    Name of an element in the Animations or Pictures bank to use in the animation
  • FPS
    FPS to set the animation to. Note that this will NOT automatically set to the FPS defined in the animation for technical reasons (Jamagic won't give out the information)
  • Width
    If specified, the animation will be stretched to this width
  • Height
    If specified, the animation will be stretched to this height
Comments

This function creates an Animation object and associates it with the current active object. Animation objects cannot be shared between different active object classes at this time.

See also
AnimationGroup:FindDirection



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