Mod:Creation Kit/DefaultRefOnContainerChangedTo

Default script used for checking if this reference has changed to a different container, and optionally what specific container.

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

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

ObjectReference[] ItemChangedToReferences {OPTIONAL: Stage will be set if this item changed to any of these references. If ALL arrays are empty then stage is set if item changes to any container.}

ReferenceAlias[] ItemChangedToAliases {OPTIONAL: Stage will be set if this item changed to any of these aliases. If ALL arrays are empty then stage is set if item changes to any container.}

Faction[] ItemChangedToFactions {OPTIONAL: Stage will be set if this item changed to any of these factions. If ALL arrays are empty then stage is set if item changes to any container.}

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