crpl:docs:persistcore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:persistcore [2014/05/14 22:10] – created Clean0nioncrpl:docs:persistcore [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  PersistCore  ===== =====  PersistCore  =====
  
 ^ Arguments ^ Result ^ Notation ^ ^ Arguments ^ Result ^ Notation ^
-|bool||%%b1 - %%|+|uid, bool|None|u1 b1 - |
  
 === Description === === Description ===
  
-Sets whether or not the core persists across saves. If not, the core will not be present upon reloading the map, even after saving.+Sets whether or not the specified core persists across saves. If not, the core will not be present upon reloading the map, even after saving. Note that the core is not destroyed upon reload: it is simply omitted from the save. This means PersistCore can be useful for making save files smaller and save times quicker, but the core's :destroyed function will not execute.
  
 ===Examples=== ===Examples===
crpl/docs/persistcore.1400105439.txt.gz · Last modified: 2025/02/14 14:56 (external edit)