View Single Post
05/30/15, 03:39 AM   #3
hoydyd
Join Date: May 2015
Posts: 7
Originally Posted by votan View Post
Common to all controls is just GetNumChildren() and GetChild(index)
So, the code from above should be:
Lua Code:
  1. for index = 1, ZO_CompassFrame:GetNumChildren() do
  2.   ZO_CompassFrame:GetChild(index):function()
  3. end

You may take a look to Ayantir's super collection of Dev Tools to see available functions.
Thank you very much!

Just out of curiosity, why is it that the method i was trying to do doesn't work? Is it due to the way the game API works?
  Reply With Quote