SetCombatDisabled

From the Fallout3 GECK Wiki
Revision as of 18:50, 6 December 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Disables (1) or enables (0) combat for the calling actor. Actors with combat disabled will <u>never</u> go into combat with other actors....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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