DefaultActivateLinkedRefOnActivate

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Activates the specified linked ref when this object is activated

Optional Properties[edit | edit source]

Bool PlayerActivatedOnly
{If set to TRUE (DEFAULT) the Linked Ref will Activate if Activated ONLY by the player.
If set to FALSE, and all arrays are empty, then the Linked Ref will Activate if Activated by anybody.
(If you want to trigger based on the Player AND something else then add the toe the ActivatedByReferences array)}

Bool DoOnce
{If you only want this to be activate once set to TRUE.  DEFAULT = FALSE}

Keyword LinkedRefKeyword
{The Keyword of the LinkedRef you want to activate when this activated.}

ObjectReference[] ActivatedByReferences
{OPTIONAL: LinkedRef will Activate if Activated by any of these references.
If ALL arrays are empty then Activate happens if Activated by anybody.}

ReferenceAlias[] ActivatedByAliases
{OPTIONAL: LinkedRef will Activate if Activated by any of these aliases.
If ALL arrays are empty then Activate happens if Activated by anybody.}

Faction[] ActivatedByFactions
{OPTIONAL: LinkedRef will Activate if Activated by any of these factions.
If ALL arrays are empty then Activate happens 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.}