ToggleImmortalMode

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Prevents the Player character from taking health/limb damage, and/or from dying. The function has 2 modes:

0	(Disabled)
1	Prevents health from dropping below 1 HP.
2	Prevents taking any health/limb damage.
  • By omitting the argument, the function can be used to return current immortal mode, without making any changes.

Syntax

[help]
(currMode:0/1/2) ToggleImmortalMode setMode:0/1/2

Example

ToggleImmortalMode 1
set iImmortalMode to ToggleImmortalMode