User Tools

Site Tools


crpl:docs:func_gameloaded

<- 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")
crpl/docs/func_gameloaded.txt · Last modified: 2022/07/01 14:41 by Karsten75