This command enables and disables (toggles) god mode for your character. In god mode, you are invincible and do not take any damage - as a result of this, you also cannot die when in god mode.
The syntax for the invulnerability command is as follows:
Search our database of 37 KOTOR and KOTOR II commands...Onwards
Find below working examples of the invulnerability command.
If invulnerability is disabled (default), using this console command will enable it, making you invincible to all forms of damage, and unable to die. Typing this command into the console again (i.e. while invulnerability is enabled), will disable it.