View Single Post
06/16/15, 09:43 AM   #2
XanDDemoX
AddOn Author - Click to view addons
Join Date: May 2015
Posts: 28
Originally Posted by Argusus View Post
How do I detect what type of layer was pushed to the UI? Do I use SI_GAMECAMERAACTIONTYPE? I'd like to detect when I approach an npc and have the ability to interact with it.
I think this might be what your looking for

Code:
local orig_interact = ZO_ReticleContainerInteract:GetHandler("OnShow")

local interact_handler = function(...)

    if orig_interact ~= nil then 
       orig_interact (...)
    end

end

ZO_ReticleContainerInteract:SetHandler("OnShow",interact_handler)
  Reply With Quote