block event +jump (prevent from jumping)
Hey,
is it possible to hook the +jump event anyhow? I want to set jumping velocities manually and prevent from original jumping, because im aiming to code a charged jump where you have to hold down your jump button and the longer you hold it down, the higher you can jump. Please help me! greets |
Re: block event +jump (prevent from jumping)
Like this? I made it fast and seems to work fine, and i like the idea too.
PHP Code:
|
Re: block event +jump (prevent from jumping)
Sry for the offtopic but man, rly good idea o.o, and gj for the code alka.
|
Re: block event +jump (prevent from jumping)
well, thx Alka, but i already got, what you've got, your code isnt blocking the first jump, you know? you hold down jump button, but you will jump and when you land it starts charging... but i wanted to avoid that jump before charge... but i dont know how it should work with FMRES_SUPERCEDE or something....
well but actually its not that bad as my code is at the moment... yeah well... just to let you know ^^ it is for a new character in a mod... :P so if anyone knows how to avoid that first little jump before you can charge pls tell me thx! |
| All times are GMT -4. The time now is 22:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.