ScriptEvent:filterEntitiesByFilter

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

integer index -- Index of the targetInfo filter to use.
boolean inclusive -- Whether to include or exclude entities which match the given filter.

Result

integer

Supported By

idEntity

Comments

  • If the index is out of range, nothing will be removed.

Functionality

Removes entities from the entity cache based on whether they match the specified targetInfo filter, and returns the number that are left.