ScriptEvent:filterEntitiesByRadius

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

Parameters

vector center -- Center of the sphere.
float radius -- Radius of the sphere.
boolean inclusive -- Whether to include or exlude the entities withing the sphere.

Result

integer

Supported By

idEntity

Functionality

Removes entities from the entity cache based on whether they are inside or outside of the specified sphere, and returns the number that are left.