Talkvolume
From NWN Lexicon
Jump to navigationJump to search
TALKVOLUME_* Constant Group
Sets the broadcast range of text displayed using SpeakString, ActionSpeakString and SetPCChatVolume functions.
Constants
| Constant | Value | Description |
|---|---|---|
| TALKVOLUME_PARTY | 5 | Chat goes to all the members of the party the creature is in. Untested with SpeakString. |
| TALKVOLUME_SHOUT | 2 | This will send a yellow chat message to the entire server/world. Every PC can see it.
If an NPC shouts then only other NPC's in the area they are in within 45M get a OnConversation event popup, but it still goes to every PC on the server regardless of area. |
| TALKVOLUME_SILENT_SHOUT | 4 | When used with SpeakString will broadcast an silent shout up to 45M away. The text can be seen with DebugMode 1 being set in the console. It won't appear for PCs or DMs otherwise.
When used with SetPCChatVolume() , this sends the chat message to the DM channel. |
| TALKVOLUME_SILENT_TALK | 3 | Sets the text visibility to a shorter 20M range, but hides the text from the screen (so it can still be heard and acted on by creatures in the area). The text can be seen with DebugMode 1 being set in the console. The AI uses this to "communicate" locally usually to say "I am under attack, come help". |
| TALKVOLUME_TALK | 0 | Does a default "chat" as a player would with SpeakString. Has a 20M range and anyone can listen to it. |
| TALKVOLUME_TELL | 6 | When used with SetPCChatVolume() , this sends the chat message privately back to the original speaker. Cannot be used with SpeakString since it lacks a target parameter. |
| TALKVOLUME_WHISPER | 1 | Sets the text visibility range to short 3M range. Placeables will not display whispered text. |
See Also
| functions: |
author: NWN Lexicon Group, editor: Mistress, contributor: Axe Murderer