Modme Forums

jumping trigger

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: ii_R3cKY0urS3LF_x
how do I make a touchable trigger that launches u straight up in the air and when u push w on keyboard to move forward u push forward. kinda like the tyres in fortnight where u touch the tyres and they launch u up in the air and u can guide where the launch takes u

I need to be able to edit the height it takes u up to


ModmeBot:

Reply By: mathfag

<player> SetVelocity(0,0,vertical speed);</player>


ModmeBot:

Reply By: Abnormal202

mathfag
<player> SetVelocity(0,0,vertical speed);

make sure you have the force within parenthesis or it will make it look like multiple arguments are being passed, when it's only one.

player setvelocity((0,0,100));
</player>


ModmeBot:

Reply By: KillJoyYT
is there a way to change the default jump height?


ModmeBot:

Reply By: ihmiskeho

KillJoyYT
is there a way to change the default jump height?


void SetJumpHeight(&lt;height_in_inches&gt;)

[MANDATORY] &lt;height_in_inches&gt; The height to jump in inches
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Set the global jump height of all players. Minimum value of 0, maximum value of 1023.
EXAMPLE: SetJumpHeight( 100 )&lt;/height_in_inches&gt;&lt;/height_in_inches&gt;


ModmeBot:

Reply By: KillJoyYT
thank you man :-)