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.
Maybe someone has an idea?
|