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

RandomLoopDelay: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
mNo edit summary
Crimsonum (talk | contribs)
Updated the warning.
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
}}
}}


Specifies a delay between each loop of this animation. The animation must be repetitive. The delay is randomly chosen from between the two values.
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 09: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!
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.