... | ... | @@ -2,6 +2,8 @@ ui: timer is an action that lets you wait to run effects after x amount of secon |
|
|
|
|
|
There are 2 modes, a blocking or non-blocking mode.
|
|
|
|
|
|
Blocking refers to making the entire game wait for the timer to pass before continuing on script execution. This is default.
|
|
|
Blocking refers to making the entire game wait for the timer to pass before continuing on script execution. This is default. The target column is not applicable, leave it blank.
|
|
|
|
|
|
Non-blocking means the after effect triggers when the timer is up, regardless of what happens in between. Use this for animations that you want to play while still letting other things run. Use this for turn timers to limit the amount of time a player has. |
|
|
\ No newline at end of file |
|
|
Non-blocking means the after effect triggers when the timer is up, regardless of what happens in between. Use this for animations that you want to play while still letting other things run. Use this for turn timers to limit the amount of time a player has. Select a player in the target column. The timer runs only for that player. If you do not select a player, then the timer runs for both players simultaneously. This is usually not recommended:
|
|
|
|
|
|
> Be careful when using this to keep time in non-server based games. Because people have varying computer and network speeds the timers are not guaranteed trigger at the exact moment for both players. This can cause desyncs. Non-blocking timers should almost never be used for both simultaneously players if your game is not server based. On server-based games a single timer is kept for all players so this becomes ok. |
|
|
\ No newline at end of file |