Jump to content

RandomLoopDelay

From ModEnc²
Revision as of 17:46, 2 July 2025 by Rain-Islet (talk | contribs) ([bot] Batch update {{Bugs}} templates.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RandomLoopDelay
File(s): Art(md).ini
Values: Two Integers, separated by comma
Default: 0,0
Applicable to: Animations


Specifies a minimum and maximum delay range between each loop of this animation. The delay is randomly chosen from between the two values. A RandomLoopDelay=100,300 at game speed 4 (30 FPS) will see typical intervals between 5 to 11 sec.

Bugs/Side-Effects/Unexpected Limitations

In vanilla Tiberian Sun, RandomLoopDelay is known to cause players to desync in an online game (Reconnection Error). This is because the flag erroneously uses a random number generator that isn't synchronized between players. TS patches and Vinifera fix this.