SetCombatDisabled
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Disables (1) or enables (0) combat for the calling actor. Actors with combat disabled will never go into combat with other actors. However they can still be attacked by other actors.
Syntax
(combatDisabled:0/1) reference.SetCombatDisabled combatDisabled:0/1
Example
actorRef.SetCombatDisabled 1
Notes
- This is reset (combat is enabled) every time a saved game is loaded.