Skip to content

Commit

Permalink
Add TSA game speed note (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaterKnight committed Sep 4, 2022
1 parent 385202f commit 2732943
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions trigger.j
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,23 @@ also works in `ExecuteFunc` contexts, even if the `ExecuteFunc` call is not in a
@note This does not tick while the game was paused by the user, neither in singleplayer nor in multiplayer. (But the Trigger Editor of the World Editor
denotes it as a real-time wait. Is this a bug?)
@note This ticks independently from game speed, i.e., in Fast mode, it will be about the same as a game time, in Normal mode, it will be about 25% faster than
game time and in Slow mode, it will be about 67% faster than game time, see table below.
Game speed | TSA speed (%) | game speed (%)
-------------------------------------------
Fast | 100% | 100%
Normal | 100% | 80%
Slow | 100% | 60%
Example elapsed game time after TSA with timeout = 30:
Game speed | game time elapsed
------------------------------
Fast | 30s
Normal | 24s
Slow | 18s
*/
native TriggerSleepAction takes real timeout returns nothing

Expand Down

0 comments on commit 2732943

Please sign in to comment.