Mod:Creation Kit/DefaultCounter

A simple counter. Place on an reference, then increment with another script (such as Mod:Creation Kit/DefaultCounterIncrementOnDeath or Mod:Creation Kit/DefaultCounterIncrementOnceOnActivate). When the target value is reached (or, optionally, exceeded), the counter:
 * Activates itself.
 * Optionally, sets a quest stage.
 * Optionally, performs a specified action on a specified linkedref.

Required Properties
int TargetValue {The first value at which the counter will trigger.}

Optional Properties
Quest MyQuest {Optional. If Desired, when the counter reaches its target, sets MyQuest to MyStage.}

int MyStage {Optional. If Desired, when the counter reaches its target, sets MyQuest to MyStage.} Keyword MyLinkedRefKeywor {The keyword for the LinkedRef to perform the action on. Defaults to the unnamed linkedref.}

int MyLinkedRefAction {Optional; defaults to 0. Determines what action to perform on the object's linkedref. - 0 -- Activate - 1 -- Toggle Enable/Disable - 2 -- Enable Only - 3 -- Disable Only }