WoW API: JumpOrAscendStart

From AddOn Studio
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 );