View Single Post
08-14-21, 10:04 AM   #3
Alaror
A Murloc Raider
Join Date: Mar 2019
Posts: 6
Originally Posted by Tim View Post
JumpOrAscendStart() is when the player jumps but, is a protected function. Your only option may be to monitor key presses for space bar.
Oh nice, didn't know about that function. WoWWiki has exactly what I'm looking for.

Lua Code:
  1. hooksecurefunc( "JumpOrAscendStart", function()
  2.   DEFAULT_CHAT_FRAME:AddMessage( "Jump" );
  3. end );

Last edited by Alaror : 08-14-21 at 10:11 AM.
  Reply With Quote