S_ChangeMusic

From ZDoom Wiki
Jump to navigation Jump to search
Error.gif

This article is a stub. Please help the ZDoom Wiki by adding to it.

native static bool S_ChangeMusic(String music_name, int order = 0, bool looping = true, bool force = false)

Usage

Changes the current music, similar to SetMusic in ACS. Like the other S_ functions, can be called in any scope.

Parameters

  • Sound music_name
The music track to play
  • int order
(Need more info)
  • bool looping
Whether the music will loop. (Clarificaton needed: If false, does the music simply stop afterwards?)
  • bool looping
(Need more info)

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.


See also