Thread: Unload event
View Single Post
07/02/19, 10:04 PM   #12
Akira.Iris
Join Date: Jun 2018
Posts: 4
I know this is an old topic, but I can't seem to find an answer anywhere: when does "SetCVar" happen? "ReloadUI", "Logout" and "Quit" are self-explanatory, but I'm not sure about "SetCVar". If I use ZO_PreHook("SetCVar"..), when will it fire? All I can find it being used with is changing the language... Is that it?

And another quick question - is there a way to ZO_PreHook somehow so that my function happens after the logout/quit countdown? So far for me it's happening right before the counter starts, but then I can just press cancel and stay in-game, which isn't exactly what I'm looking for.

Last edited by Akira.Iris : 07/02/19 at 10:31 PM.
  Reply With Quote