SetMusic: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
*'''name''': name of the music to play. The name can be with or without the lump name prefix (<code>D_</code> for DOOM, <code>MUS_</code> for Heretic). | *'''name''': name of the music to play. The name can be with or without the lump name prefix (<code>D_</code> for DOOM, <code>MUS_</code> for Heretic). | ||
|notes=Currently only the ''name'' parameter is supported in Eternity's '''SetMusic''' implementation. | |notes=Currently only the ''name'' parameter is supported in Eternity's '''SetMusic''' implementation. | ||
|id=ACC internal}} | |id=ACC internal | ||
|seealso= | |||
*Music changer thing in [[Thing types]]}} | |||
Revision as of 14:22, 5 May 2026
Description
This is an ACS built-in function.
Changes the music to the one with the given name.
Usage
void SetMusic(str name)
Parameters
- 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
Examples
No examples given.
Notes
Currently only the name parameter is supported in Eternity's SetMusic implementation.
This function's identification in zspecial.acs is: ACC internal.
See also
- ACS built-in functions
- Music changer thing in Thing types