ScriptEvent:entitiesInLocalBounds

From Mod Wiki
Revision as of 11:45, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

vector mins -- Mins of the bounds to check.
vector maxs -- Maxs of the bounds to check.
integer mask -- Mask of the contents of entities to find.

Result

integer

Supported By

idEntity

Comments

  • This function clears the entity cache first.

Functionality

Finds all entities with the given bounds, in entity space, adds them to the entity cache, and returns the number found.