View Single Post
08-02-16, 10:51 AM
Join Date: Mar 2006
No, "framename" is a global variable, pointing to the object by that name, which (in the case of a frame) a table, which has a "unit" key. You can access it and set its keys/values just like any other table.
/dump PlayerFrame:GetObjectType() ==> "table"
/dump PlayerFrame.unit:GetObjectType() ==> "string"
/dump PlayerFrame.unit ==> "player"
Troubleshoot an addon
Turn any code into an addon
More addon resources
Need help with your code?
code! Attach or
Please don’t PM me
about addon bugs or code questions. Post a comment or forum thread instead!
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx