View Single Post
08/27/21, 01:06 AM   #8
Leonardo1123
AddOn Author - Click to view addons
Join Date: Aug 2021
Posts: 19
Thanks so much! I love learning more about this stuff haha.

Originally Posted by Baertram View Post
Just a naming hint: It's called "callback" not "hook".

ZOs provies ZO_PreHook, ZO_PostHook which is a real hook to the functions, so that your code calls before/After the original one.
But normal event functions are considered to be callbacks to that event.

btw event_zone_changed fires too often for you as it will also fire if you change a subzone in a zone, like the map updates to a new area in the zone (a city e.g.).
At least this is what I had found out in the past.
  Reply With Quote