<- CRPL reference <- Vars and Functions

:awake

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. 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 SetFieldCell.

Examples

:Awake
   Trace("I Live")