SetCombatDisabled

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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.

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