Inheriting AnimationGroups? - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-23-15, 08:05 AM   #1
A Frostmaul Preserver
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 260
Inheriting AnimationGroups?


I already posted this on mmo-champion but didn't get a reply (yet) but wish I posted it here instead:

But basically I am wondering why method/function "Region:CreateAnimationGroup" has an "inheritsFrom" argument since I cannot seem to get it to work. I don't think you can create AnimationGroup virtual templates and to get around this I just created a virtual frame with the animation group attached it to and inherited that instead with the CreateFrame function.

Lua Code:
  1. animationGroup = Region:CreateAnimationGroup(["name" [, "inheritsFrom"]])

But wanted to ask:

I don't understand how the CreateAnimationGroup's "inheritsFrom" parameter works because as far as I know you cannot inherit an AnimationGroup directly and have never seen anyone ever attempt to use this parameter like I have tried to do. Also there are no examples to learn from. How can you use this "inheritsFrom" parameter to inherit an AnimationGroup? If you can't then what is it used for?

Thank you for reading

Last edited by Mayron : 06-23-15 at 08:21 AM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Inheriting AnimationGroups?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off