Method PlaySound
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
soundstringThe sound resref.
targetNwGameObjectThe target object for the sound to originate. Defaults to the location of the player.