Difference between revisions of "ScriptEvent:saveCachedEntities"

From Mod Wiki
 
(No difference)

Latest revision as of 17:38, 5 November 2007

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.