Trigger: Variable changes

TriggerNo. 9127

Synopsis

Pick the type and the variable, and which change counts: “Created” or “Value changes”, with options such as “Increased”. “Increased” ignores subtractions, and “Created” only fires the first time it is received. A “while the user is in the room” variable is erased on leaving without firing this trigger.

Step by step

Announce a points increase

Boxes you need

  1. TriggerTrigger: Variable changes
  2. TriggerTrigger: Say something
  3. EffectEffect: Give variable
  4. EffectEffect: Change variable value
  5. EffectEffect: Show message
  1. Save a user variable 9291 named “points”, with “Has a value” and “While the user is in the room”. In one stack, use “Says something” 9111 = “add”, “Give variable” 9237 to the triggering user, initial 0 without overwriting, and “Change value” 9239, Add 5.
  2. Stack this box and “Show message” 9185, text “Increased”, targeting the triggering user. In the trigger choose Users, select “points”, check “Value changes” and “Increased”, and allow activation from “This room”. Save.
  3. Say “add” twice.

Result: Each increase shows “Increased”.

Settings

Settings window of “Trigger: Variable changes”
This box's window in the game (Spanish client).

Notes

Related