Made SOUND:PlayMusicPart pass on the loop and applyRate args.
This commit is contained in:
@@ -2035,10 +2035,12 @@ save yourself some time, copy this for undocumented things:
|
||||
<Function name='PlayAnnouncer' return='void' arguments='string sPath'>
|
||||
Plays a sound from the current announcer.
|
||||
</Function>
|
||||
<Function name='PlayMusicPart' return='void' arguments='string musicPath, float musicStart, float musicLength, float fadeIn, float fadeOut'>
|
||||
Play the sound at <code>musicPath</code> starting from <code>musicStart</code> for
|
||||
<code>musicLength</code> seconds one time. Both <code>fadeIn</code> and
|
||||
<code>fadeOut</code> can be customized as required.
|
||||
<Function name='PlayMusicPart' return='void' arguments='string musicPath, float musicStart, float musicLength, float fadeIn, float fadeOut, bool loop, bool, applyRate'>
|
||||
Play the sound at <code>musicPath</code> starting from <code>musicStart</code> for
|
||||
<code>musicLength</code> seconds one time. Both <code>fadeIn</code> and
|
||||
<code>fadeOut</code> can be customized as required. <code>loop</code>
|
||||
tells the sound manager to loop the music part. <code>applyRate</code>
|
||||
tells the sound manager to apply the current music rate.
|
||||
</Function>
|
||||
<Function name='PlayOnce' return='void' arguments='string sPath'>
|
||||
Play the sound at <code>sPath</code> one time.
|
||||
|
||||
Reference in New Issue
Block a user