WoW API: JumpOrAscendStart

From AddOn Studio
Revision as of 18:57, 9 December 2006 by WoWWiki>Shadowed
(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 );