View Single Post
05/27/14, 04:13 PM   #2
ingeniousclown
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 122
You could try using ZO_PreHookHandler() that I THINK exists because I THINK I remember hearing someone talking about it in IRC or some other thread...

But I believe that would be a 100% safe way to do what you're wanting UNLESS you absolutely need a post-hook instead...

In a case like that, I'd still prehook and then in the called function, do a zo_callLater(myFunction(myArgs), 25) to make the function fire almost instantly after the handle function. Very hacky, but it works.
  Reply With Quote