Originally Posted by unLeashed3k
This object created holds the exact information I want for my addon, I know it, but it will not allow me to access the information.
In /zgoo "GetChild(index)" for ZO_CompassContainer says it's BLACKLISTED. Does that mean it's private?
|
ZO_CompassContainer:GetChild() - will be BLACKLISTED, because you have to specify index
if there are ZO_CompassContainer:GetNumChildren() > 0 then you can do the following:
Code:
local numChildren = ZO_CompassContainer:GetNumChildren()
for index=1, numChildren do
compassPin = ZO_CompassContainer:GetChild(index)
if compassPin ~= nil then
-- do whatever you want with the compassPin child object here
end
end