====== HasRoomFor ====== {{tag>zdoom needs_examples}} ''bool HasRoomFor(str actorname, fixed x, fixed y, fixed z)'' ===== Description ===== Returns true if the actor of the specified type can fit if occupying the specified point. This function works by attempting to spawn an actor at the specified position, and immediately removing it if successful. ZDoom creates random empty spaces outside the map, which are infinite extensions of boundary sectors according to the BSP tree. This function cannot be used to check that the object won't spawn outside the map.