ScriptEvent:saveCachedEntities

From Mod Wiki

Parameters

None.

Result

integer

Supported By

idEntity

Comments

  • There are a limited number of saved states which can exist at once, so care should be taken to call freeSavedCache when you no longer need it.
  • The result will be -1 if the cache could not be saved.

Functionality

Saves the state of the entity cache, and returns a handle to the saved state.