SetMusic
From Eternity Wiki
Jump to navigationJump to search
Description[edit]
This is an ACS built-in function.
Changes the music to the one with the given name.
Usage[edit]
void SetMusic(str name)
Parameters[edit]
- name: name of the music to play. The name can be with or without the lump name prefix (
D_for DOOM,MUS_for Heretic).
Return value[edit]
Examples[edit]
No examples given.
Notes[edit]
This function affects all players in the game. If you want to change music only for one player, use LocalSetMusic.
Currently only the name parameter is supported in Eternity's SetMusic implementation.
This function's identification in zspecial.acs is: ACC internal.