en:editeur:timers-hud
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:editeur:timers-hud [2026/08/30 21:15] – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiesta | en:editeur:timers-hud [2026/08/31 20:44] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| Timers are set up in the inspector of a room (Events section, '' | Timers are set up in the inspector of a room (Events section, '' | ||
| - | **Fields of a timer:** | + | **Fields of a global |
| ^ Field ^ Role ^ | ^ Field ^ Role ^ | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | **Actions on expiry and on tick** use the same syntax as '' | + | **Actions on expiry and on tick** use the regular |
| To **start or stop a global timer** from an event or a choice, use this action: | To **start or stop a global timer** from an event or a choice, use this action: | ||
| <code yaml> | <code yaml> | ||
| - | faire: | + | do: "timer_global: |
| - | - timer_global: | + | |
| - | state: ON # ON, OFF or SWITCH | + | |
| </ | </ | ||
| Ligne 31: | Ligne 29: | ||
| ===== HUD (persistent panels) ===== | ===== HUD (persistent panels) ===== | ||
| - | The HUD displays permanent information on the player screen: hit points, score, a mini-map, and so on. It is configured through '' | + | The HUD displays permanent information on the player screen: hit points, score, a mini-map, and so on. It is configured through '' |
| **Eight positions are available: | **Eight positions are available: | ||
| Ligne 46: | Ligne 44: | ||
| **Setting up a panel from the editor:** | **Setting up a panel from the editor:** | ||
| - | In the inspector, Events section, '' | + | In the inspector, Events section, '' |
| ^ Field ^ Role ^ | ^ Field ^ Role ^ | ||
| | '' | | '' | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | |
| - | The panel is refreshed every time the event defining it runs. For a live HUD, put the update inside a global event or inside a timer tick. | + | The panel is refreshed every time the event defining it runs. Put an '' |
| - | + | ||
| - | **Find us on the [[https:// | + | |
en/editeur/timers-hud.1788117325.txt.gz · Dernière modification : de cyrilfiesta
