Event / callback when reticle over interactible elements ?
Hello,
I would like to make a little addon for a friend, but it requires something that UI doesn't handle very properly, an event or a callback when Reticle is on an interctable object.
If we got EVENT_TARGET_CHANGED / EVENT_RETICLE_TARGET_CHANGED for players or NPC / Monsters. Look like we got nothing for node craft (my need), craft stations, skyshards, collectible items, containers, etc.
Without an answer I could hack ZO_Reticle:TryHandlingInteraction for my need, but maybe someone already looked at this.
Oh yeah. I find another very dirty solution.. an onUpdate xml function which will loop at each frame and use GetGameCameraInteractableActionInfo(). but so dirty, and I couldn't do my stuff.. Because I want to rewrite the text printed at screen.
It sounded like you already thought of this, but if you want something to look at it sounds like what: Votans Fisherman does (except with fishing holes), prehooking into RETICLE.interact, and altering the text that is displayed on the screen.