**Language / Langue :** [[fr:editeur:globaux|FR]] | **EN** ====== Graphical editor - Globals panel ====== The Globals panel gathers everything applying to the whole scenario. ===== Scenario information ===== The title, ''ID'', description, language, category and tags are edited here. An ID is required for achievements and ''_p'' variables. Keep it stable after publishing so existing player progress remains attached to the scenario. ===== Variables ===== Simple variables have two categories: * **Numeric** (''vars:''); * **Text** (''text_vars:''). The name suffix then selects its scope: no suffix for the current game, ''_p'' for local persistent data and ''_o'' for a shared online value. The old ''online_vars:'' category is still understood on import but is no longer recommended. Each variable has a name, an initial value and an optional description. See [[en:yaml:variables|Variables]]. ===== Global events ===== Global events are checked automatically after every player action in every room. They have an identifier, an optional condition, actions and optional text. ===== Global timers ===== Global timers run throughout the game independently from the current room. See [[en:editeur:timers-hud|Timers and HUD]]. ===== Global aliases and actions ===== A global alias provides access to a room from anywhere in the scenario. A global action makes a custom command available everywhere. Achievements are not edited in this panel. They are in the [[en:editeur:explorateur|Explorer]]'s **Achievements** tab. ===== Lists, collections and blocks (4.17) ===== **Globals > Variables** also lets you create lists and collections, choose their scope and open nested data. Long lists support pagination and search. The ''do:'' forms provide list operations, **For each**, **Repeat**, conditions, text and styles. The draw-and-remove operation offers random, first, last, index or value selection. Optional messages enable success and failure text separately. Aliases and indices belong to their loop. Renaming updates references, including list messages. See [[en:yaml:listes-boucles|Syntax and examples]]. Command shortcuts are under **Globals > Interface**; see [[en:yaml:raccourcis|Shortcuts]].