DefaultAliasOnTriggerEnter

From Creation Kit
Jump to: navigation, search

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

Required Properties

Int StageToSet
{Stage to Set}

Optional Properties

Bool PlayerTriggerOnly
{If set to TRUE (DEFAULT) then this stage will only set if Triggered by the player.
If set to FALSE, and all arrays are empty, then the stage is set if Triggered by anybody.}
 
ObjectReference[] TriggeredByReferences
{OPTIONAL: Stage will be set if Triggered by any of these references.
If ALL arrays are empty then stage is set if Triggered by anybody.}
 
ReferenceAlias[] TriggeredByAliases
{OPTIONAL: Stage will be set if Triggered by any of these aliases.
If ALL arrays are empty then stage is set if Triggered by anybody.}
 
Faction[] TriggeredByFactions
{OPTIONAL: Stage will be set if Triggered by any of these factions.
If ALL arrays are empty then stage is set if Triggered by anybody.}

Debug Properties

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