Originally Posted By: Superku
c_move(...)
if(HIT_TARGET && target.z > my.z+my.max_z*0.75) //you may not need the factor *0.75

I'm wondering, could this also be used to check if the player is on the ground? How would the code look? I've played around with it, but I can't seem to get it to work.