Thread: Compass Events
View Single Post
08/02/14, 03:09 PM   #20
unLeashed3k
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 33
Lua Code:
  1. local zzz_numChildren = ZO_CompassContainer:GetNumChildren()
  2.    local zzz_string = ""
  3.    d("The number of children: "..zzz_numChildren.."\n -----")
  4.  
  5.    for index = 1, zzz_numChildren do
  6.       zzz_compassPin = ZO_CompassContainer:GetChild(index)
  7.       if zzz_compassPin ~= nil then
  8.          zzz_string = zzz_compassPin:GetName()
  9.          d(index..": "..zzz_string)
  10.       else
  11.          d(index..": nil")
  12.       end
  13.    end

Result:
Code:
The number of children: 67
-----
1: nil
2: nil
[ ... ]
66: nil
67: nil
You, and everyone that has responded and helped me I am incredibly grateful for but I have to give up (I think I already said that once already hehe). All I ever get in the simplest of code is a nil result.
  Reply With Quote