.. Die

.. default - domain::js

.. include:: /includes/standard.rst

=============
Die (Main.sc)
=============


.. function:: Die([theDeathReason])

	Causes the ego to die. The global variable gDeathReason will be set to the death reason.
	
	:param number theDeathReason: An arbitrary numerical value to be interpreted by the DeathRoom.sc script.


