en:yaml:timers
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| en:yaml:timers [2026/05/03 18:29] – Add English wiki page using real engine keys cyrilfiesta | en:yaml:timers [2026/08/31 20:56] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | **Language: | + | **Language |
| ====== Timers (YAML) ====== | ====== Timers (YAML) ====== | ||
| Ligne 5: | Ligne 5: | ||
| JDR-Bot provides several timing mechanics. | JDR-Bot provides several timing mechanics. | ||
| - | ===== Visual Pause {{timer:N}} ===== | + | ===== Visual Pause %%{{timer:N}}%% ===== |
| <code yaml> | <code yaml> | ||
| Ligne 24: | Ligne 24: | ||
| duration: " | duration: " | ||
| to: expired_room | to: expired_room | ||
| - | text: "Timer started | + | text: "Timer started: v_hourglass_v seconds left." |
| </ | </ | ||
| Ligne 37: | Ligne 37: | ||
| events: | events: | ||
| - if: ~ | - if: ~ | ||
| - | do: "global_timer: | + | do: "timer_global: |
| </ | </ | ||
| Ligne 69: | Ligne 69: | ||
| do: " | do: " | ||
| </ | </ | ||
| + | |||
| + | ===== Stopping a timer ===== | ||
| + | |||
| + | A **local timer** cancels itself as soon as the player leaves the room: it belongs to that room. | ||
| + | |||
| + | A **global timer** is stopped with the same switch that starts it: | ||
| + | |||
| + | <code yaml> | ||
| + | do: " | ||
| + | do: " | ||
| + | </ | ||
| + | |||
| + | '' | ||
en/yaml/timers.1777825790.txt.gz · Dernière modification : de cyrilfiesta
