63 object->playSound(sound);
const Common::UString & getSoundFile(size_t index) const
Return the sound file to play for this sound.
Handling BioWare's SSFs (sound set file).
void musicBackgroundStop(Aurora::NWScript::FunctionContext &ctx)
void setMusicDayTrack(uint32 track)
Set the music track ID playing by day.
#define TalkMan
Shortcut for accessing the talk manager.
A container of Neverwinter Nights objects.
A class holding an UTF-8 string.
void musicBackgroundGetNightTrack(Aurora::NWScript::FunctionContext &ctx)
void playVoiceChat(Aurora::NWScript::FunctionContext &ctx)
Class to hold a sound set.
Context of an NWScript function.
void unimplementedFunction(Aurora::NWScript::FunctionContext &ctx)
void musicBackgroundChangeNight(Aurora::NWScript::FunctionContext &ctx)
Object * getCaller() const
static NWN::Object * toObject(::Aurora::NWScript::Object *object)
An area in Neverwinter Nights, holding all objects and room tiles within, as well as general area pro...
uint32 getMusicNightTrack() const
Return the music track ID playing by night.
void playSound(Aurora::NWScript::FunctionContext &ctx)
void playAmbientMusic(Common::UString music="")
Play the specified music (or the area's default) as ambient music.
void musicBackgroundPlay(Aurora::NWScript::FunctionContext &ctx)
The context holding a Neverwinter Nights area.
static Aurora::NWScript::Object * getParamObject(const Aurora::NWScript::FunctionContext &ctx, size_t n)
void setMusicNightTrack(uint32 track)
Set the music track ID playing by night.
uint32 getMusicDayTrack() const
Return the music track ID playing by day.
void playSound(const Common::UString &sound, bool pitchVariance=false)
Play an object sound.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
An object in a Neverwinter Nights area.
void musicBackgroundChangeDay(Aurora::NWScript::FunctionContext &ctx)
static Area * toArea(Aurora::NWScript::Object *object)
The global talk manager for Aurora strings.
void playSoundByStrRef(Aurora::NWScript::FunctionContext &ctx)
Generic Aurora engines utility functions.
void stopAmbientMusic()
Stop the ambient music.
void musicBackgroundGetDayTrack(Aurora::NWScript::FunctionContext &ctx)
Neverwinter Nights engine functions.