SpeakOneLinerConversation

From NWN Lexicon

Contents

[edit] SpeakOneLinerConversation(string, object)

Immediately speak a conversation one-liner.

void SpeakOneLinerConversation(
    string sDialogResRef = "",
    OBJECT_TYPE_INVALID
);

[edit] Parameters

sDialogResRef

(Default: "")

oTokenTarget

This must be specified if there are creature-specific tokens in the string. (Default: OBJECT_TYPE_INVALID )


[edit] 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.



[edit] Remarks

Note that if you have a script on a non-branching conversation line, GetPCSpeaker can not be used to get the PC.


[edit] Version

1.61

[edit] See Also

constants: 

OBJECT_TYPE_* Constants



 author: Jeff Lindsey, editor: Lilac Soul
 

Personal tools
Categories