Outils pour utilisateurs

Outils du site


en:editeur:globaux

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
en:editeur:globaux [2026/05/03 18:30] – Add English wiki page using real engine keys cyrilfiestaen:editeur:globaux [2026/10/18 22:43] (Version actuelle) – Documentation 4.17 : listes, boucles, raccourcis et editeur cyrilfiesta
Ligne 1: Ligne 1:
-**Language:** [[fr:editeur:globaux|Français]] | **English**+**Language / Langue :** [[fr:editeur:globaux|FR]] | **EN**
  
-====== Editor — Globals Panel ======+====== Graphical editor - Globals panel ======
  
-The Globals panel manages scenario-wide elements: +The Globals panel gathers everything applying to the whole scenario.
-  * variables; +
-  * text variables; +
-  * online variables; +
-  * global events; +
-  * global actions; +
-  * global aliases; +
-  * global timers.+
  
-Use IDs carefully because effects such as ''trigger_event:id'' reference them.+===== 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]].
  
en/editeur/globaux.1777825802.txt.gz · Dernière modification : de cyrilfiesta