D
Drepple
Guest
So I'm currently working on a game with an object called obj_bolt in it that checks for obj_gate right in front of it using instance_position(x-64,y,obj_gate). However, obj_bolt is a child of obj_gate, so whenever I try to get the id of the gate object, obj_bolt will return it's own id. (Pretty sure it's because obj_gate is its parent).
So is there a way in which obj_bolt checks for the gate instance's id without giving me its own id?
Thanks in advance
So is there a way in which obj_bolt checks for the gate instance's id without giving me its own id?
Thanks in advance