This is an old revision of the document!
⇐ Index
Naming a function “:Awake” will make it so that it is automatically 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.
:Awake SetUnitDebugText(self "I Live")