SetMusicState

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the playback state of the game's current background music:

0	Stop Playback
1	Pause Playback
2	Resume Playback
  • Note: The Stop Playback state will stop music played by PlayMusic, otherwise it will replay the current music from the beginning.

Syntax

[help]
SetMusicState musicState:int{0, 1, 2}

Example

SetMusicState 1 

See Also