crpl:docs:func_awake

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:func_awake [2014/01/31 00:46] virgilwcrpl: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 a core is created. Whenever a core is created (either dynamically or at a game load), this function is called in the first game update but before the first core script evaluation.  So this function is not called until the game first is unpaused.+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 persisted across saves, such as [[crpl:docs:SetFieldCell]].+Can be useful for repeating commands that are not persistent across saves, such as [[crpl:docs:SetFieldCell]].
 === Examples === === Examples ===
 <code> <code>
crpl/docs/func_awake.1391129167.txt.gz · Last modified: 2025/02/14 14:56 (external edit)