Hey there,
Thanks very much for your responses - I appreciate it!
I understood that the functions are executed based on events (which your addon needs to register for). I just had my function get called when the "OnLoad" event happened. I was just surprised when 0 was always returned by the UnitPower() calls.
I'll keep poking around and looking at more examples, and at the sites that you listed.
Thanks again!
|