⇐ Index
: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 CreateUnit.
Please refer to Programming Notes for an in-depth discussion and comparison between :Once
, :GameLoaded
, and :Awake
.
:Awake SetUnitDebugText(self "I Live")