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