WoW:API TurnOrActionStop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
Override_TurnOrActionStop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) | Override_TurnOrActionStop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) | ||
end | end | ||
[[Category:API Functions|TurnOrActionStop]] | |||
[[Category:API Action Functions|TurnOrActionStop]] | |||
[[Category:API Movement Functions|TurnOrActionStop]] |
Revision as of 12:18, 30 August 2005
This is triggered by releasing the right mousebutton. If keystate up is true of that button then this fires. Anything contained within this function will then also fire.
Additions can be made to this functions via temporary override, as follows ...
function AddOn_OnLoad() Override_TurnOrActionStop=TurnOrActionStop TurnOrActionStop=Override end
function Override() [Do stuff.] Override_TurnOrActionStop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) end
So we could add the notice; "Right mouse button released!" into the function.
function Override() DEFAULT_CHAT_FRAME:AddMessage("Right mouse button is down!") Override_TurnOrActionStop(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) end