Hi,
I already posted this on mmo-champion but didn't get a reply (yet) but wish I posted it here instead:
http://www.mmo-champion.com/threads/...o-be-inherited
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.
http://wowprogramming.com/docs/widge...AnimationGroup
Lua Code:
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