Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help IsOnGround
#1
Tongue 
Ok since nobody can help me with my other problem, I will go for an easier problem

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 Wink

The problem is the xxx function gets started before that the player touchs the ground, how do I fix?
Reply

#2
(07-28-2011, 20:03)Scripts18 Wrote: Ok since nobody can help me with my other problem, I will go for an easier problem

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 Wink

The problem is the xxx function gets started before that the player touchs the ground, how do I fix?
I would help you. But since you deleted me from steam i cant :/
Reply

#3
Code:
Test()
{
  while(1)
   {
    if(self JumpButtonPressed())
      {
             while(self IsOnGround() != true) { } //keep looping when its not true
                  XXXXXXX
      }
    wait 0.01;
    }
}






megusta
Reply

#4
Quote:I would help you. But since you deleted me from steam i cant :/

Never had you in my friend list? Oh youre the guy that wanted my weapons ? lol...

Reply

#5
(07-28-2011, 20:08)Scripts18 Wrote:
Quote:I would help you. But since you deleted me from steam i cant :/

Never had you in my friend list? Oh youre the guy that wanted my weapons ? lol...

NO? who would even like your weapons? /no offence
Reply

#6
Cause you cant make your own Troll
tell that to the guy that wants to host my mod
Reply

#7
(07-28-2011, 20:06)jariz Wrote:
Code:
Test()
{
  while(1)
   {
    if(self JumpButtonPressed())
      {
             while(self IsOnGround() != true) { wait 0.05; } //nigga what.
                  XXXXXXX
      }
    wait 0.01;
    }
}






megusta

YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#8
Why quote his stuff?

EDIT: Nvm thx
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.