void musicBackgroundGetDayTrack(Aurora::NWScript::FunctionContext &ctx)
void playAmbientMusic(Common::UString music="")
Play the specified music (or the area's default) as ambient music.
Context of an NWScript function.
static SoundObject * toSoundObject(Aurora::NWScript::Object *object)
void musicBackgroundPlay(Aurora::NWScript::FunctionContext &ctx)
An ingame sound in kotor.
void setMusicDayTrack(uint32 track)
Set the music track ID playing by day.
void musicBackgroundGetNightTrack(Aurora::NWScript::FunctionContext &ctx)
A container of Star Wars: Knights of the Old Republic objects.
void stopAmbientMusic()
Stop the ambient music.
An area in Star Wars: Knights of the Old Republic, holding all objects and rooms within, as well as general area properties like the current background music and ambient sounds.
Star Wars: Knights of the Old Republic engine functions.
void soundObjectPlay(Aurora::NWScript::FunctionContext &ctx)
The context holding a Star Wars: Knights of the Old Republic area.
uint32 getMusicDayTrack() const
Return the music track ID playing by day.
An object in a Star Wars: Knights of the Old Republic area.
static Aurora::NWScript::Object * getParamObject(const Aurora::NWScript::FunctionContext &ctx, size_t n)
static Area * toArea(Aurora::NWScript::Object *object)
void musicBackgroundChangeNight(Aurora::NWScript::FunctionContext &ctx)
uint32 getMusicNightTrack() const
Return the music track ID playing by night.
void soundObjectStop(Aurora::NWScript::FunctionContext &ctx)
void musicBackgroundChangeDay(Aurora::NWScript::FunctionContext &ctx)
void setMusicNightTrack(uint32 track)
Set the music track ID playing by night.
void musicBackgroundStop(Aurora::NWScript::FunctionContext &ctx)