Get 1Click Maker

Creating a Variable โ€‹

  1. Click the round { } button in the bottom-left corner of the panel (next to the โœฆ Clicky button).

    Bottom-left corner of the panel: โœฆ Clicky and { } Object Variables.
    Bottom-left corner of the panel: โœฆ Clicky and { } Object Variables.
  2. The Object Variables panel slides in from the right. Stay on the User tab and click Create New Variable.

    The Object Variables panel.
    The Object Variables panel.
  3. Fill in the three fields:

    FieldNotes
    TypeString, Integer, Float, Vector or Key. See User Variables.
    NameUnique, up to 30 characters, letters/numbers/_. Do not type the $; the panel adds it.
    Initial valueThe value the variable has when the project is built. Must match the type.
  4. Confirm. The variable is listed in the panel; you can edit or delete it there at any time.

  5. Save and Build so the object knows about it.

  6. Make sure [add-on] - Conditions & Variables - 1Click is in the Content tab of the object that runs the functions (usually the HUD). Variables and conditions live in that script; without it the object ignores them and prints ATTENTION: This project needs the '[add-on] - Conditions & Variables - 1Click' script.

New look

Press Variables in the header. The tabs are called Yours and System; press New variable and fill in the same fields. The New Look

Creating a variable.
Creating a variable.

Using it โ€‹

  • In a Condition, type $ in the Field or Value box: an autocomplete lists your variables.
  • In Change Variable, pick it from the dropdown.

Deleting a variable that is in use โ€‹

Conditions and Change Variable actions that reference a deleted variable keep the text ($name) but will never match. Update or delete those actions.