SetCombatDisabled

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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

[help]
(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.

See Also