FeetUpGaming
Member
When using object_get_parent(object_index) do you put in an instance id or an object index? (Does the object need to exist inside the room)
Also (The main question) what happens when the object has multiple parents? Here is the kind of family of the objects i'm using:
obj_brickWall < wall < world_object < has_lighting
(I know, i know. It's a mess but it does what i need it to do) My question is what would object_get_parent(obj_brickWall) return? I'm guessing wall but thought i would double check
Also (The main question) what happens when the object has multiple parents? Here is the kind of family of the objects i'm using:
obj_brickWall < wall < world_object < has_lighting
(I know, i know. It's a mess but it does what i need it to do) My question is what would object_get_parent(obj_brickWall) return? I'm guessing wall but thought i would double check