~~NOTOC~~ <= [[4rpl:start|Index]] ====== :Awake ====== ===== Description ===== '':Awake'' is called whenever a unit with this script attached is created. This can happen at game load, or during a game when a unit is created with [[4rpl:commands:createunit|CreateUnit]]. Please refer to [[cw4:Programming Notes]] for an in-depth discussion and comparison between ''[[func_Once| :Once]]'', ''[[func_GameLoaded|:GameLoaded]]'', and ''[[func_Awake|:Awake]]''. ===== Examples ===== :Awake SetUnitDebugText(self "I Live") ===== See Also ===== [[cw4:Programming notes]]