LuaGameplay.wiki
changeset 1938 e1b83a39bbbc
parent 1937 55255a1feba7
child 1940 37a2cc377a4f
equal deleted inserted replaced
1937:55255a1feba7 1938:e1b83a39bbbc
    43 Set the remaining turn time in milliseconds. The current remaining turn time can be read from the variable `TurnTimeLeft`.
    43 Set the remaining turn time in milliseconds. The current remaining turn time can be read from the variable `TurnTimeLeft`.
    44 
    44 
    45 === <tt>!SetReadyTimeLeft(newReadyTimeLeft)</tt> (0.9.25) ===
    45 === <tt>!SetReadyTimeLeft(newReadyTimeLeft)</tt> (0.9.25) ===
    46 Set the remaining ready time in milliseconds. This function should only be called in onNewTurn. The current remaining ready time can be read from the variable `ReadyTimeLeft`.
    46 Set the remaining ready time in milliseconds. This function should only be called in onNewTurn. The current remaining ready time can be read from the variable `ReadyTimeLeft`.
    47 
    47 
    48 === <tt>!SetTurnTimePaused(isPaused)</tt> (0.9.25) ===
    48 === <tt>!SetTurnTimePaused(isPaused)</tt> (1.0.0) ===
    49 Pauses the turn time indefinitely if `isPaused` is set to `true`, disabled the turn time pause if `isPaused` is set to `false`.
    49 Pauses the turn time indefinitely if `isPaused` is set to `true`, disabled the turn time pause if `isPaused` is set to `false`.
    50 
    50 
    51 === <tt>!GetTurnTimePaused()</tt> (0.9.25) ===
    51 === <tt>!GetTurnTimePaused()</tt> (1.0.0) ===
    52 Returns `true` if the turn time is currently paused by `SetTurnTimePaused`, otherwise returns `false`.
    52 Returns `true` if the turn time is currently paused by `SetTurnTimePaused`, otherwise returns `false`.
    53 
    53 
    54 === <tt>!EndGame()</tt> ===
    54 === <tt>!EndGame()</tt> ===
    55 Makes the game end.
    55 Makes the game end.
    56 
    56