View Single Post
04/25/23, 09:31 AM   #17
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
Yeh I think i got that part working ok now...

Where im hitting the snag is the event combat state for the incombat queue for the teleport...

once combat ends its going bonkers and the only issue I can see is the possibility of the displayName variable not being held and passed again to the event_combat_state function once it fires.

and it really doesnt like this:

Code:
EVENT_MANAGER:RegisterForEvent("MyAddon", EVENT_PLAYER_COMBAT_STATE, MyAddon.TeleportPassthroughQueue(displayName))
i realize thats probably not enough context for you... Im trying a few more things here and if they dont work ill go into more detail.

**EDIT
It seems to be running the code as expected except its not delaying the actual jumpto if i return false on the prehook. and if i return true it doesn't jumpto at all, just does the effect and stops.

its the delay i need applied to the actual jumpto not the effects.. Seems no matter which way I do this I cant delay the jumpto with the hook.

Last edited by sinnereso : 04/25/23 at 12:23 PM.
  Reply With Quote