ScriptEvent:saveCachedEntities

From Mod Wiki
Revision as of 17:38, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.