DefaultRefOnCombatStateChanged

From the Fallout4 CreationKit Wiki
Revision as of 11:09, 15 March 2013 by imported>Darklocq
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Default script used for checking if an actor's combat state has changed, and optionally who it's target is.

Required Properties[edit | edit source]

Quest MyQuest
{Quest containing the Stage to Set}
Int StageToSet
{Stage to Set}

Optional Properties[edit | edit source]

Int CombatStateToCheckFor
{
0: Not In Combat
1: In Combat
2: Searching
4: In Combat or Searching (DEFAULT)
}

ObjectReference[] TargetIsOneOfTheseReferences
{OPTIONAL: Stage will be set if In Combat with any of these references.
If ALL arrays are empty then stage is set if In Combat with anybody.}

ReferenceAlias[] TargetIsOneOfTheseAliases
{OPTIONAL: Stage will be set if In Combat with any of these aliases.
If ALL arrays are empty then stage is set if In Combat with anybody.}

Faction[] TargetIsOneOfTheseFactions
{OPTIONAL: Stage will be set if In Combat with any of these factions.
If ALL arrays are empty then stage is set if In Combat with anybody.}

Debug Properties[edit | edit source]

Bool ShowTraces
{Default = FALSE, Set to TRUE if you want the traces in this script to show up in the log.}