SetCombatDisabled
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....")
< [[::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
(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.