ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "RandomLoopDelay"

From ModEnc
Jump to: navigation, search
(Created page with "{{Flag |name=RandomLoopDelay |files={{Categ|Art(md).ini}} |values=Two Integers, separated by comma |default=0,0 |types={{Categ|Animations}} |ts=yes |f...")
 
(Updated the warning.)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
}}
 
}}
  
Specifies a delay before this animation plays. The delay is randomly chosen from either of the two values. If used on a repeating animation, this specifies the delay between each loop.
+
Specifies a minimum and maximum delay range between each loop of this animation. The delay is randomly chosen from between the two values. A {{f|RandomLoopDelay|100,300}} at game speed 4 (30 FPS) will see typical intervals between 5 to 11 sec.
  
{{BigHorizontalBar|Attention!|In Tiberian Sun, RandomLoopDelay is known to cause Reconnection Errors. The game has trouble synchronizing random events between players.|image=Warning.png}}
+
{{BigHorizontalBar|Attention!|In Tiberian Sun, {{tt|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.|image=Warning.png}}

Latest revision as of 11:56, 24 March 2023

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.

Attention!
Warning.png
In 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.