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

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:editeur:globaux [2026/07/06 00:12] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:editeur:globaux [2026/08/31 20:42] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta
Ligne 1: Ligne 1:
 **Language / Langue :** [[fr:editeur:globaux|FR]] | **EN** **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 that applies to the whole scenario, independently from the rooms. 
-  * variables; + 
-  * text variables; +===== Variables ===== 
-  * online variables; + 
-  global events; +Three kinds of global variables: 
-  * global actions; + 
-  * global aliases; +  * **Numeric** (''vars:'') - integers and floats, changed and compared inside 997 events 
-  * global timers.+  * **Text** (''text_vars:'') - character strings 
 +  * **Online** (''online_vars:'') - kept between games and servers, with the ''_o'' suffix 
 + 
 +For each variable: 
 + 
 +^ Field ^ Role ^ 
 +**Name** | Identifier, with no space and no reserved sequence ''v_'', ''_v'', ''t_'', ''_t'', ''o_'', ''_o''
 +| **Initial value** | A number, a text, or a random expression | 
 +| **Description** | Shown when the player inspects the variable | 
 + 
 +The reserved sequences matter: they are the delimiters the engine uses to find a variable inside a text. A name such as ''hp_victor'' would break, because the ''_v'' of "victor" is read as a closing delimiter. 
 + 
 +===== Global events ===== 
 + 
 +Global events are checked automatically on every player action, in every room. 
 + 
 +Each global event has: 
 +  * an **identifier**, which ''trigger_event:id'' can point to 
 +  * an ''if:'' **condition**, which may be ''null'' to stay always active 
 +  * ''do:'' **actions**, a list of actions to run 
 +  * a **text**, the message shown (optional) 
 + 
 +===== Global timers ===== 
 + 
 +Global timers run for the whole game, independently from the current room. See [[en:editeur:timers-hud|Timers and HUD]] for the details. 
 + 
 +===== Global aliases ===== 
 + 
 +Global aliases let the player reach certain rooms from anywhere with the ''go alias'' command. They also appear as permanent reactions on Discord. 
 + 
 +===== Global actions ===== 
 + 
 +Custom actions available in every room, completing the local actions defined room by room.
  
-Use IDs carefully because effects such as ''trigger_event:id'' reference them. 
en/editeur/globaux.1783289539.txt.gz · Dernière modification : de cyrilfiesta