Added a new macro for replacing the current playlist.

This commit is contained in:
Lari Nieminen 2008-11-30 19:20:18 +00:00
parent db9a5148b8
commit 0193fd7eca

View file

@ -275,12 +275,21 @@
#enddef
#define INCIDENTAL_MUSIC MUSIC
# To be played immediately to mark an incident,
# but not appended to the scenario playlist.
[music]
name={MUSIC}
play_once=yes
[/music]
# To be played immediately to mark an incident,
# but not appended to the scenario playlist.
[music]
name={MUSIC}
play_once=yes
[/music]
#enddef
#define REPLACE_SCENARIO_MUSIC MUSIC
# To be used mid-scenario to replace the current playlist.
[music]
name={MUSIC}
immediate=yes
append=no
[/music]
#enddef
# For some animations some units use a list of sounds, from which one is