WoW:API AscendStop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
Display a message with "Jump Released" in it everytime you release the jump key. | Display a message with "Jump Released" in it everytime you release the jump key. | ||
hooksecurefunc( " | hooksecurefunc( "AscendStop", function() | ||
DEFAULT_CHAT_FRAME:AddMessage( "Jump Released" ); | DEFAULT_CHAT_FRAME:AddMessage( "Jump Released" ); | ||
end ); | end ); |
Revision as of 18:38, 20 September 2007
← WoW API < AscendStop
This doesn't appear to affect the actual jump at all and is used as a way for users to get when the jump key was released.
AscendStop();
Parameters
Arguments
None
Returns
Nothing
Details
This is called when the jump key is released, regardless if you are in the middle of the jump or held it down until the jump finished.
Example
Display a message with "Jump Released" in it everytime you release the jump key.
hooksecurefunc( "AscendStop", function() DEFAULT_CHAT_FRAME:AddMessage( "Jump Released" ); end );