(09-26-2015, 05:08 PM)Mugbill Wrote: The first number is not up/down. That's the second number. It goes by XYZ axes, so the first is X and the second is Y. A negative Y value would equal up (usually).
If you say you've tried them all to no result, are you sure the line is actually executed? Can you show the code?
Oh, I just noticed that, altho if I use the second line, it still jumps to the left or right, meanwhile my script is like this :
void OnStart()
{
AddEntityCollideCallback("Player", "EXO", "ExoJump", true, 0);
}
void ExoJump(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("Boost_Jump_01", 1);
AddPlayerBodyForce(0, 1000000, 0, true);
}
I can't lower it, since you have to jump VERY high... I still don't understand why I move left automatic....