Outils pour utilisateurs

Outils du site


en:editeur:globaux

Ceci est une ancienne révision du document !


Language / Langue : FR | EN

Graphical editor - Globals panel

The Globals panel gathers everything that applies to the whole scenario, independently from the rooms.

Variables

Three kinds of global variables:

  • Numeric (vars:) - integers and floats, changed and compared inside 997 events
  • Text (vars_texte:) - character strings
  • Online (vars_online:) - 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 declencher_event:id can point to
  • a si: condition, which may be null to stay always active
  • faire: 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 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.

Find us on the Make&Play Discord

en/editeur/globaux.1788117263.txt.gz · Dernière modification : de cyrilfiesta