Originally Posted by Fathis Ules
what about hooking it directly
Lua Code:
local function newSetHidden(...) --origZO_PlayerAttributeHealthBarLeftGloss(...) end local origZO_PlayerAttributeHealthBarLeftGloss.SetHidden = ZO_PlayerAttributeHealthBarLeftGloss.SetHidden local origZO_PlayerAttributeHealthBarRightGloss.SetHidden = ZO_PlayerAttributeHealthBarLeftGloss.SetHidden ZO_PlayerAttributeHealthBarLeftGloss.SetHidden = newSetHidden ZO_PlayerAttributeHealthBarRightGloss.SetHidden = newSetHidden
that's a sample of course but that's how you can change the SetHidden behaviour after you changed it once
|
I must start this post with saying that I am a mediocre c# programmer, and have never worked with lua before.. and while I :REALLY: appreciate you taking the time to reply in this thread, I have no idea what to make of this proposition you made regarding hooking it directly..
Would it be to much to ask for a 'working' example, since I am too stupid to understand what you're trying to teach me?
/hugs
MYSleX