Originally Posted by unLeashed3k
Would you be kind enough to show me in simple code sample?
Do I make an <OnUpdate> function and poll the GUI for what's actively displayed?
|
Best practice would be to make a function to check ZO_CompassContainer
and call that function via registration
EVENT_MANAGER:RegisterForUpdate("OnUpdateSomethingYouMade", [number in miliseconds how often to call your function], [your function name])