# HG changeset patch # User Wuzzy # Date 1685019970 0 # Node ID cc4c3628ae0e53a68ed79276510acf0c7e62cc84 # Parent fbe2095f05e4e1694ab15ba6710716b6fd7cd621 LuaAudio: remove version numbers diff -r fbe2095f05e4 -r cc4c3628ae0e LuaAudio.wiki --- a/LuaAudio.wiki Thu May 25 13:05:48 2023 +0000 +++ b/LuaAudio.wiki Thu May 25 13:06:10 2023 +0000 @@ -12,7 +12,7 @@ If you play a voice, by default the voice will respect an internal queue and might be played with an delay in order to prevent annoying voice overlapping. You can disable this behaviour and force Hedgewars to instantly play the voice by also setting `instaVoice` to `true`. Only use `instaVoice` when you really need it. -== `PlayMusicSound(soundId)` (0.9.25) == +== `PlayMusicSound(soundId)` == Plays a sound as replacement for the background music. The sound is played once. The main music is paused and the sound is played instead. The main background music does not resume automatically, so you should call `StopMusicSound` after a while. Example: @@ -20,7 +20,7 @@ PlayMusicSound(sndRideOfTheValkyries) -- Replace the background music the Ride of the Valkyries -== `StopMusicSound(soundId)` (0.9.25) == +== `StopMusicSound(soundId)` == Stops the specified “music sound” (if it was still playing) and resumes the main background music. == `SetSoundMask(soundId, isMasked)` ==