Originally Posted by Argusus
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)