Made SOUND:PlayMusicPart pass on the loop and applyRate args.

This commit is contained in:
Kyzentun
2014-02-12 17:36:43 -07:00
parent 3f1c96d10f
commit 901ba529e8
3 changed files with 23 additions and 9 deletions
+6 -4
View File
@@ -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.