Mod:Creation Kit/DefaultRefOnActivate

Default script used for checking if a reference is activated, and optionally what Activated it.

Required Properties
Quest MyQuest {Quest containing the Stage to Set}

Int StageToSet {Stage to Set}

Optional Properties
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
Bool ShowTraces {Default = FALSE, Set to TRUE if you want the traces in this script to show up in the log.}