07-28-2011, 20:03
Ok since nobody can help me with my other problem, I will go for an easier problem
XXXXX is a function that I want to keep secret
The problem is the xxx function gets started before that the player touchs the ground, how do I fix?
Code:
Test()
{
while(1)
{
if(self JumpButtonPressed())
{
self waittill(self IsOnGround() == true);
XXXXXXX
}
wait 0.01;
}
}
XXXXX is a function that I want to keep secret
The problem is the xxx function gets started before that the player touchs the ground, how do I fix?