ScriptEvent:entitiesOfCollection

From Mod Wiki

Parameters

string name -- Name of the collection to look up.

Result

integer

Supported By

idEntity

Comments

  • This function clears the entity cache first.

Functionality

Find all entities in the given collection, adds them to the entity cache, and returns the number found.