Difference between revisions of "ScriptEvent:filterEntitiesByFilter"

From Mod Wiki
 
(No difference)

Latest revision as of 13:01, 5 November 2007

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.