G
Geo Jones
Guest
Alright so I am trying to make it so if this object is not colliding with a list of objects, then send a debug message. This is in the step command. It is always showing the debug message even if it is touching one of the list of objects.
if (!place_meeting(x, y, obj1_obj) || !place_meeting(x, y, obj2_obj) || !place_meeting(x, y, obj3_obj) || !place_meeting(x, y, obj4_obj) || !place_meeting(x, y, obj5_obj)){
show_debug_message("no collision");
}
}
So essentially I want to make it so if it is not colliding with obj1, obj2, obj3, obj4, or obj5; to display "no collision"
if (!place_meeting(x, y, obj1_obj) || !place_meeting(x, y, obj2_obj) || !place_meeting(x, y, obj3_obj) || !place_meeting(x, y, obj4_obj) || !place_meeting(x, y, obj5_obj)){
show_debug_message("no collision");
}
}
So essentially I want to make it so if it is not colliding with obj1, obj2, obj3, obj4, or obj5; to display "no collision"