ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Delay: Difference between revisions
Jump to navigation
Jump to search
Nighthawk200 (talk | contribs) Testing the sound controls. This page seemed rather... empty. |
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
||
Line 7: | Line 7: | ||
|yr=yes | |yr=yes | ||
|rp=yes}}<br /> | |rp=yes}}<br /> | ||
This tag contains the minimum and maximum delays for sounds if used with the PREDELAY {{ | This tag contains the minimum and maximum delays for sounds if used with the PREDELAY {{f|Control|link}}. The values are in milliseconds (1000ms = 1 second). The tag's syntax is as follows: | ||
<pre>Delay=0 1000</pre> | <pre>Delay=0 1000</pre> | ||
In the above example, the minimum delay is 0ms, i.e. no delay; and the maximum delay is 1000ms, i.e. 1 second. There should be one space between the minimum and maximum delay values. | In the above example, the minimum delay is 0ms, i.e. no delay; and the maximum delay is 1000ms, i.e. 1 second. There should be one space between the minimum and maximum delay values. | ||
If the minimum delay is set higher than the maximum delay, then the minimum delay will always be used. If negative values are given for any of the delays, then the first time this sound is played, there will be no delay. Any further times that the sound is supposed to be played, it will not play. So, negative delay values can be used to make a sound only playable once per game. | If the minimum delay is set higher than the maximum delay, then the minimum delay will always be used. If negative values are given for any of the delays, then the first time this sound is played, there will be no delay. Any further times that the sound is supposed to be played, it will not play. So, negative delay values can be used to make a sound only playable once per game. |
Latest revision as of 07:52, 27 November 2009
Flag: | Delay |
File(s): | sound(md).ini |
Values: | Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. |
Applicable to: | VocTypes |
This tag contains the minimum and maximum delays for sounds if used with the PREDELAY Control. The values are in milliseconds (1000ms = 1 second). The tag's syntax is as follows:
Delay=0 1000
In the above example, the minimum delay is 0ms, i.e. no delay; and the maximum delay is 1000ms, i.e. 1 second. There should be one space between the minimum and maximum delay values.
If the minimum delay is set higher than the maximum delay, then the minimum delay will always be used. If negative values are given for any of the delays, then the first time this sound is played, there will be no delay. Any further times that the sound is supposed to be played, it will not play. So, negative delay values can be used to make a sound only playable once per game.