WoW API: JumpOrAscendStart

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API JumpOrAscendStart to API JumpOrAscendStart without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < JumpOrAscendStart

Makes the player jump, this is a protected function that replaces Jump().

JumpOrAscendStart();


Parameters

Arguments

None


Returns

Nothing


Details

This is called when the jump key is pushed down.


Example

Display a message with "Jump" in it everytime you press the jump key

hooksecurefunc( "JumpOrAscendStart", function()
  DEFAULT_CHAT_FRAME:AddMessage( "Jump" );
end );