User Tools

Site Tools


crpl:docs:func_awake

Differences

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

Link to this comparison view

Next revision
Previous revision
crpl:docs:func_awake [2013/10/26 04:55] – created ThirdPartycrpl:docs:func_awake [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]]
  
 =====  :awake  ===== =====  :awake  =====
- 
-^Arguments^Result^Notation^ 
-| | |''-- ''| 
- 
  
 === Description === === Description ===
-Special function that is automatically called whenever the save file is loaded.  Necessary for repeating commands that are not persisted across saves, such as [[crpl:docs:SetFieldCell]].+Special function that is automatically called whenever a core is created. Whenever a core is created (either dynamically or at a game load), this function is called.  At game load time this function is called before the game 'loading' initialization screen is dismissed.   
 + 
 +Can be useful for repeating commands that are not persistent across saves, such as [[crpl:docs:SetFieldCell]].
 === Examples === === Examples ===
 <code> <code>
-example goes here+:Awake 
 +   Trace("I Live")
 </code>  </code> 
  
crpl/docs/func_awake.1382763328.txt.gz · Last modified: 2025/02/14 14:56 (external edit)