sphere = createsphere() If PickedEntity() = sphere then ; smae entity End if
Well, as for the wall jump, i'd only test for a wall jump, if the character is in the air, and has a forward speed.
You best to use the collision system for this i reckon.
If EntityCollided() = wall then If jumping = 1 ;enable wall jump End if End if
I reckon that would be a simplier way to do this. I've never tried a wall jump like that in code though, but i reckon that's the way it should work.