Wikia

WoWWiki

API JumpOrAscendStart

Talk0
101,769pages on
this wiki
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 );

Around Wikia's network

Random Wiki