2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_SNDLIMIT}}
|
|
|
|
The [[_SNDLIMIT]] statement stops playing a sound after it has been playing for a set number of seconds.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2016-03-18 11:36:04 +00:00
|
|
|
::: '''_SNDLIMIT''' {{Parameter|handle&}}, {{Parameter|numberofseconds!}}
|
|
|
|
|
|
|
|
|
|
|
|
{{Parameters}}
|
|
|
|
* The ''handle&'' variable name is created using the [[_SNDOPEN]] function from a loaded sound file.
|
|
|
|
* The ''numberofseconds'' is a [[SINGLE]] value of seconds that the sound will play.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageDescription}}
|
|
|
|
*Sets how long a sound will be played in seconds.
|
2016-03-18 11:36:04 +00:00
|
|
|
*Set the limit to 0 seconds to remove the limit.
|
2015-08-02 12:12:44 +00:00
|
|
|
*Cannot be set for playing a looping sound.
|
|
|
|
|
|
|
|
|
|
|
|
{{PageExamples}}
|
2016-03-18 11:36:04 +00:00
|
|
|
{{CodeStart}} '' ''
|
|
|
|
{{Cl|_SNDLIMIT}} h&, 5.5 '' ''
|
2015-08-02 12:12:44 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[_SNDOPEN]], [[_SNDLEN]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|