PlaySound

The   NWScript command causes a monophonic sound resource &mdash; identified by its ResRef as a string &mdash; to be played from the location of the object running the command (OBJECT_SELF). This can be assigned with  if a different object than the one running the script is supposed to play the sound.

Monophonic sounds include many sounds heard while playing Neverwinter Nights, but they do exclude background music. They are also distinct from sound objects; sound objects are placed via the Toolset and serve as containers for sound resources, potentially many sound resources per sound object. For sounds that repeat or are used often in the same location, a sound object is likely more appropriate. is more for one-shot sounds, particularly those that are supposed to emanate from a visible object.