D
Den
Guest
I'm trying to make each collision with my door objects instances unique when the player collides with it so
I can turn off the object being solid and pass through it, coz i'm using a collision_line check for my
enemy's line of sight check and my door object is a child of my obj_solid (which handles all my solids)
Iv tried instance_find but that just keeps giving me the same instance number for any door the player collides with.
Is there some way you can just get the specific id of the current door instance i'm colliding with?
I can turn off the object being solid and pass through it, coz i'm using a collision_line check for my
enemy's line of sight check and my door object is a child of my obj_solid (which handles all my solids)
Iv tried instance_find but that just keeps giving me the same instance number for any door the player collides with.
Is there some way you can just get the specific id of the current door instance i'm colliding with?