ScriptEvent:entitiesInBounds
From Mod Wiki
Parameters
vector mins -- Mins of the bounds to check. vector maxs -- Maxs of the bounds to check. integer mask -- Mask of contents of entities to find. boolean absolute -- Whether the bounds are in world space, or in entity space.
Result
Supported By
idEntity
Comments
- This function clears the entity cache first.
Functionality
Finds all entities within the given bounds, adds them to the entity cache, and returns the number found.