SetMusic: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
|id=ACC internal
|id=ACC internal
|seealso=
|seealso=
*Music changer thing in [[Thing types]]}}
*[[LocalSetMusic]]}}

Revision as of 14:28, 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