Category:Music Effects Functions

From NWN Lexicon
Jump to navigationJump to search

Music Effect related functions.

See also the TRACK constants and Music resources lists.

Functions

Name Brief Description

MusicBackgroundChangeDay

Changes the background daytime music for the area specified.

MusicBackgroundChangeNight

Changes the background nighttime music for the area specified.

MusicBackgroundGetBattleTrack

Gets the background battle track for an area.

MusicBackgroundGetDayTrack

Gets the daytime background track for an area.

MusicBackgroundGetNightTrack

Gets the nighttime background track for an area.

MusicBackgroundPlay

Starts the currently selected background track playing.

MusicBackgroundSetDelay

This function changes the delay (in milliseconds) of the background music.

MusicBackgroundStop

Stops playing the currently selected background track.

MusicBattleChange

Changes the battle music for the area specified.

MusicBattlePlay

Starts the currently selected battle track playing

MusicBattleStop

Stops the currently playing battle track.

PlayCharacterTheme

Plays the correct background music for the character.

PlayOldTheme

Plays the background music according to the last theme what was chosen.