WoW:API JumpOrAscendStart: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API JumpOrAscendStart to API JumpOrAscendStart without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

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 );