<- CRPL reference <- Vars and Functions

:GameLoaded

Description

GameLoaded gets called after each time the game is loaded and the initialization screen is finished. It is called before the game is unpaused by the player. The key distinction between :GameLoaded and :Awake is that GameLoaded gets called immediately after the 'loading' initialization screen disappears. Also, GameLoaded does not get called when a core is dynamically created at game time, whereas :Awake does.

Examples

:GameLoaded
   PlaySound("Weapons0")