SpeakStringByStrRef(int, int)
Causes an object to instantly speak a translated string.
void SpeakStringByStrRef( int nStrRef, int nTalkVolume = TALKVOLUME_TALK );
Parameters
nStrRef
Numeric reference of the string reference to speak.
nTalkVolume
Volume at which to speak the specified string (TALKVOLUME_*). (Default: TALKVOLUME_TALK)
Description
Causes an object to instantly speak a translated string. This is not an action, happens immediately, and not blocked when the object is uncommandable.
Remarks
The StrRef values can be found in the file dialog.tlk in the NWN install directory.
Version
1.30
See Also
categories: | Conversation Functions |
constants: | TALKVOLUME_* Constants |
author: Charles Feduke, editor: Lilac Soul
Send comments on this topic.