Originally Posted by Wandamey
there must be some prehook with onshow or something...
for starters type this in your chat with the map opened to know the scene name :
/script d(SCENE_MANAGER:GetCurrentScene():GetName())
at worse i made something like this but for all the UI mode... i got to retrieve it, i'll edit a bit later
|
I can say that what you wrote above returns
worldMap
no matter what map I have showing. I tried while showing Tamriel, Coldharbour, Craglorn and Davon's Watch.
Edit: Now I am slow again
From your edit, then I assume I should make something like this on addon load?:
ZO_PreHookHandler("worldMap", "OnShow", myfunctiononshow)
or did I miss something?