View Single Post
04/22/23, 07:34 AM   #1
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
Question pre or post hook the "travel to player" in context menus

I'd be interested in hooking into the default in-game "travel to player" context menu items in guilds, friends and groups to have them perform my code instead. Mainly just to perform the effect etc before doing it so the game feels more seamless. I have 90% of the code already inplace to handle it anyway with some minor tweaks. The benefits would be the teleport effects and queue when/if still in combat etc which are used by my addon keybinds etc for many functions..

Is this something safe to do without breaking other addons? And does anyone happen to know what I would hook for those? I have trouble with zgoo finding these things. All I see are names like "ZO_MenuItem3" etc but I'm not comfortable assuming its always menuitem3 and not 4 if another addon lists above it etc.

Im thinking this will be a prehook if I'm understanding how these work a bit.

Last edited by sinnereso : 04/22/23 at 09:41 AM.
  Reply With Quote