Even if I change the code to:

Code:
if(my.z < 0)
{
   beep();
}


or
Code:
if(my.z > 0)
{
   beep();
}


or
Code:
if(my.z == 0)
{
   beep();
}


or
Code:
if(my.z == NULL)
{
   beep();
}



...no beeping is taking place while the player is not touching the ground, while jumping or falling off a ledge.

For the:
Code:
if(my.z > 0)
...


The game beeps when the player is touching the ground, but does not beep when the player jumps, or falls off a ledge. In other words, every time the player is not touching the ground, no beeping takes place.

Last edited by Ruben; 12/17/15 05:01.