Die (Main.sc)

Die([theDeathReason])

Causes the ego to die. The global variable gDeathReason will be set to the death reason.

Parameters:theDeathReason (number) – An arbitrary numerical value to be interpreted by the DeathRoom.sc script.