I am using the command: collision_line_list(x - 100, y, x + 1000, y, <object>, false, true, <ds list>, true) to retrieve the objects that collide with a line.
It works well and shows me the instance ID of the nearest object hit. Unfortunately, the instance ID in a ds list is not the same as the instance ID's specified elsewhere. For example, the ds list will say the ID of the closest object is 100003 and the instance ID for that same object elsewhere will be 3.
Any way to match the ds list instance IDs with the instance IDs specified elsewhere?
It works well and shows me the instance ID of the nearest object hit. Unfortunately, the instance ID in a ds list is not the same as the instance ID's specified elsewhere. For example, the ds list will say the ID of the closest object is 100003 and the instance ID for that same object elsewhere will be 3.
Any way to match the ds list instance IDs with the instance IDs specified elsewhere?