DefaultRefOnHit

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Default script used for checking if this ref has been hit, and optionally what Hit it.

Required Properties[edit | edit source]

Quest MyQuest
{Quest containing the Stage to Set}

Int StageToSet
{Stage to Set}

Optional Properties[edit | edit source]

Bool PlayerHitOnly
{If set to TRUE (DEFAULT) then this stage will only set if Hit by the player.
If set to FALSE, and all arrays are empty, then the stage is set if Hit by anybody.}

ObjectReference[] HitByReferences
{OPTIONAL: Stage will be set if Hit by any of these references.
If ALL arrays are empty then stage is set if Hit by anybody.}

ReferenceAlias[] HitByAliases
{OPTIONAL: Stage will be set if Hit by any of these aliases.
If ALL arrays are empty then stage is set if Hit by anybody.}

Faction[] HitByFactions
{OPTIONAL: Stage will be set if Hit by any of these factions.
If ALL arrays are empty then stage is set if Hit by 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.}