Taking the question literally, you would use place_meeting() because you want to make sure a specific object instance is not present at the location while some other kind of object instance could be but you don't care.
zendraw's right that they (now) do pretty much the same thing. Perhaps under the hood one's faster or something, but the manual shows at some point YYG added an optional argument to
place_empty()
.
GML:
place_meeting(x, y, obj_goal) == !place_empty(x, y, obj_goal)
To answer zendraw, you have my indirect answer above. Maybe you'd use one over the other for some hidden reason now – or just frankly that you like the semantics of one over the other, and/or you can skip
!
checks – but for probably 15 years or so,
place_empty()
did
not have the optional object argument and was thus more akin to
place_free()
.
Regards,