View Single Post
06/11/23, 01:15 PM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,000
Yes, USE the callback manager of the scene like described here
https://wiki.esoui.com/Scene_Manager:_On_scene_change
to check for the scene shown/hidden/hiding/showing states and react to them, instead of adding 10s delays that might work now but not anymore in the future (and all only if the PCs hardware doesn ot change and the server's speed neither does...).

Adding delays is in 90% not needed or leading to more incompatibility ad problems.
Try to e.g. find a function that is called by the event in vanilla game code and SecurePostHook it to run your code after that vanilla game code was run from the event or scene.
  Reply With Quote