The PlayVoiceChat()
NWScript command causes a creature object to play one of the sounds from its soundset.
Definition[]
void PlayVoiceChat (int nVoiceChatID, object oTarget=OBJECT_SELF
)
int nVoiceChatID
- A VOICE_CHAT_* constant (an integer) indicating which line from the soundset to play.
object oTarget
- The object whose soundset will be used and that will play the sound.
See also[]
PlaySound()
, for playing arbitrary sounds