Table of Contents

Method PlaySound

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

PlaySound(string, NwGameObject?)

Plays the specified sound at the target in the current area for this player only.

public void PlaySound(string sound, NwGameObject? target = null)

Parameters

sound string

The sound resref.

target NwGameObject

The target object for the sound to originate. Defaults to the location of the player.