View Single Post
04/15/14, 06:27 PM   #15
Ouijan
 
Ouijan's Avatar
Join Date: Apr 2014
Posts: 13
Originally Posted by GetBackYouPansy View Post
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

Last edited by Ouijan : 04/15/14 at 06:33 PM.
  Reply With Quote