WoW:API AscendStop: Difference between revisions
No edit summary |
m (Move page script moved page API AscendStop to API AscendStop without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| 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 ); | ||
Latest revision as of 04:45, 15 August 2023
← 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 );