Legacy GM how to maker player go up and down through the stairs

B

begjan

Guest
in this image you can see when i am trying to make player go up and down through stairs but no collide with different object. what i want is i want player go through the depth controller object but other depth object like depth -2 or depth -6 will not interact to each others when player collide both object.

if player in depth -2 object then depth -6 object will not do anything to change player depth
if player in depth -6 object then depth -2 object will not do anything to change player depth

image
 

Attachments

jo-thijs

Member
So, first check if depth == -4 before setting depth to -6 and check if depth == -4 or depth == 0 before setting depth to -2?
 
Top