SetPCChatMessage

From NWN Lexicon


Contents

[edit] SetPCChatMessage(string)

Sets the last player chat message before it gets sent to other players.

void SetPCChatMessage(
    string sNewChatMessage = ""
);

[edit] Parameters

sNewChatMessage

The new chat text to be sent to other players. (Default: "")


[edit] Description

Sets the last player chat (text) message before it gets sent to other players.



[edit] Remarks

Setting sNewChatMessage to an empty string ("") will cause the chat message to be discarded, i.e., it will not be sent to other players.

Note: The new chat message gets sent after the OnPlayerChat event script.


[edit] Version

1.69

[edit] Example

See OnPlayerChat .

[edit] See Also

functions: 

SetPCChatVolume

events: 

OnPlayerChat Event



author: Mistress, contributor: Axe Murderer, Cereborn

Personal tools
Categories