Originally Posted by GetBackYouPansy
The On* event script blocks defined in XML have a "local self" so you don't need to pass names around, you can pass the thing itself
See the ScriptArguments at http://wiki.esoui.com/UI_XML#OnUpdate for example, or an example in the wild here: link.
|
Thanks GetBack, I'll have to re-investigate this I thought I had troubles before with the self referencing my addon table rather each individual frame
From memory I was calling AddonName:Function(...) in an OnMoveStop and it would return my AddonName table. :P so I defined a FrameName:Function(...) as a work around. I might post my own thread if I get stuck
Edit// just had a look at your example and I get ya now xD