ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hasroomfor

This is an old revision of the document!


HasRoomFor

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.

functions/hasroomfor.1497362048.txt.gz · Last modified: 2017/06/13 16:54 by korshun