SetMusic: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "''void'' '''SetMusic'''(''str name'') Changes the music to the one with the given ''name''. The name can be with or without the lump name prefix (D_ for DOOM, MUS_ for Hereti...")
 
No edit summary
Line 1: Line 1:
''void'' '''SetMusic'''(''str name'')
{{ACSFunction|description=Changes the music to the one with the given ''name''.
 
|usage=''void'' '''SetMusic'''(''str name'')
Changes the music to the one with the given ''name''. The name can be with or without the lump name prefix (D_ for DOOM, MUS_ for Heretic).
|parameters=
 
*'''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).
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}}
==See also==
*[[ACS built-in functions]]
 
[[Category:ACS]]
[[Category:Editing]]

Revision as of 08:04, 22 November 2020

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