ScriptEvent:filterEntitiesByClass

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

string name -- Name of the class type to check for.
boolean inclusive -- Whether to include or exclude the entities of the specified type.

Result

integer

Supported By

idEntity

Functionality

Removes entities from the entity cache based on whether they are of the given class or not, and returns the number that are left.