WoW:API TurnOrActionStart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 19: | Line 19: | ||
Override_TurnOrActionStart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) | Override_TurnOrActionStart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) | ||
end | end | ||
[[Category:API Functions|TurnOrActionStart]] | |||
[[Category:API Action Functions|TurnOrActionStart]] | |||
[[Category:API Movement Functions|TurnOrActionStart]] | |||
Revision as of 12:18, 30 August 2005
This is triggered by pressing down on the right mousebutton. If keystate down 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_TurnOrActionStart=TurnOrActionStart TurnOrActionStart=Override end
function Override() [Do stuff.] Override_TurnOrActionStart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) end
So we could add the notice; "Right mouse button is down!" into the function.
function Override() DEFAULT_CHAT_FRAME:AddMessage("Right mouse button is down!") Override_TurnOrActionStart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) end