double jump

Posts 1–4 of 4 · Page 1 of 1
double jump
is it possible to make double jump (dash) gsc script?
Hmm jump x2 higher?
Code:
i = self getVelocity();
self setVelocity(i+(0, 0, i[2]*2));
I Meant Jump X2 Times Not 2 Higher but thanks
Oh!
[code]
something()
{
self notifyOnPlayerCommand("jump", something here);
while(1)
{
self waittill("jump");
self waittill("jump");
i = self getVelocity();
self setVelocity(i+(0, 0, i[2]*2));
}
}
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us