DefaultAliasOnActivate

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Default script used for checking if an alias is activated, and optionally what Activated it.

Required Properties[edit | edit source]

Int StageToSet
{Stage to Set}

Optional Properties[edit | edit source]

Bool BlockWhilePlayerIsInCombat = FALSE
{If TRUE then the stage will only set if the player isn't in combat.}

Int PrereqStage
{Stage that must be set for this event to fire}

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

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

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

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