Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Keep a conversation private

From NWNWiki

Jump to: navigation, search

[edit] Keep a conversation private

When starting conversations through scripting, you would use the function "ActionStartConversation()" In the Lexicon we see that there are 3 parameters. action ActionStartConversation( object,string,int) object oObjectToConverseWith, string sDialogResRef = "", int bPublicConversation = FALSE

Simply useing ActionStartConversation( oPC);

Will make the object start the conversation that is attached to it with the PC only. If you include the last parameter and set it to TRUE, then it becomes audible to everyone.

[edit] Example

object oPC = GetLastUsedBy();
// This will be privet
ActionStartConversation(oPC,"Name of Convo",FALSE);
// This will also be privet, useing default parameters.
ActionStartConversation(oPC);
// This will be public
ActionStartConversation
Rate this article:
Share this article: