Thanks so much! I love learning more about this stuff haha.
Originally Posted by Baertram
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.
|