Mod:Creation Kit/DefaultRefOnUnequipped

Default script used for checking if reference unequipped us, and optionally what Unequipped it.

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

Int StageToSet {Stage to Set}

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

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

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

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