Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Creates an Animation within the AnimationGroup.

animation = AnimationGroup:CreateAnimation([animationType, name, inheritsFrom])

Arguments

animationType
string - Type of the animation to create, one of: Animation (default)[1], Translation, Rotation, Alpha, Scale, ControlPoints and Path
name
string - Desired global name that will be assigned as _G[name], or nil to avoid creating a global reference
inheritsFrom
string - Comma-separated list of names of XML animation templates to inherit from

Returns

animation
Animation - The created animation widget.

Notes

  • The animation will act on the Region who is the AnimationGroup's parent.
  • It appears that all animations involving moving a PlayerModel will fail silently. Alpha animations are the only animation type which will have any effect on these frames.

Patch changes

References

 
  1. ^ Chipzz 2018-12-10. WoWUIDev Discord, #irc-history.
  2. ^ zork 2010-09-22. 3.1.0 Animation roundup.
Advertisement