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