void leaper( float Vx, float Vy, float Vz )
{// Leap with desired speed!
void self = getlocalvar("self");
int dir = getentityproperty(self,"direction");
if(dir==0){ // Facing left?
Vx = -Vx ;
}
tossentity(self, Vy, Vx, Vz); //Leap!
}
May I use it? Thanks as always for your excellent scripts.Yes, I've coded that function years ago.