SpeakOneLinerConversation
From NWN Lexicon
Jump to navigationJump to search
SpeakOneLinerConversation(string, object)
Immediately speak a conversation one-liner.
void SpeakOneLinerConversation(
string sDialogResRef = "",
OBJECT_TYPE_INVALID
);
Parameters
sDialogResRef
(Default: "")
oTokenTarget
This must be specified if there are creature-specific tokens in the string. (Default: OBJECT_TYPE_INVALID )
Description
Causes the calling object to immediately speak the first non-branching conversation line in their dialogue. Since there is no second party to the conversation, oTokenTarget can be used to determine formatting of tokens contained in the one-liner.
Remarks
Note that if you have a script on a non-branching conversation line, GetPCSpeaker can not be used to get the PC.
Version
1.61
See Also
| constants: |
author: Jeff Lindsey, editor: Lilac Soul