Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes | ||
agi-game:leisuresuitlarry:reference-timer [2021/05/02 21:23] – frater | agi-game:leisuresuitlarry:reference-timer [2021/05/02 21:26] – varTimingDelay : explain more frater | ||
---|---|---|---|
Ligne 33: | Ligne 33: | ||
==== varTimingDelay [v67] ==== | ==== varTimingDelay [v67] ==== | ||
- | This timer only raise (Set) the boolTimingDelayOut [f75] when reach 1 second left (not 0, to avoid loop to 255 (-1) value). | + | This timer is used by any room logic to set a timer (example, if larry won't move, after few second |
- | The logic change the variable to what value they want to wait, and pool the boolTimingDelayOut | + | This timer only raise (Set) the boolTimingScriptDone [f75] when reach 1 second left (not 0, to avoid loop to 255 (-1) value). |
+ | |||
+ | Any room logic can change the variable to what value they want to wait, and pool the boolTimingScriptDone | ||
The timing Handler decrease the value until it's reach 1. | The timing Handler decrease the value until it's reach 1. |