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[edit]

Arguments[edit]

None


Returns[edit]

Nothing


Details[edit]

This is called when the jump key is pushed down.


Example[edit]

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

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