Template:KV TalkNPC: Difference between revisions
Jump to navigation
Jump to search
Tip:This template accepts the same parameters as {{KV BaseNPC}} and feeds them to it.
(intn for Source/HL2 keyvalue templates) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Lang|{{FULLPAGENAME}}}} | ||
{{ | {{Tip|This template accepts the same parameters as {{T|KV BaseNPC}} and feeds them to it.}} | ||
<onlyinclude>{{ | <onlyinclude>{{Minititle|TalkNPC}} | ||
{{KV|Use Sentence|intn=UseSentence|string|Sentence spoken when the NPC gets {{ | {{KV|Use Sentence|intn=UseSentence|string|Sentence spoken when the NPC gets {{Ent|+use}}d by a player}} | ||
{{KV|Un-Use Sentence|intn=UnUseSentence|string|Sentence spoken NPC gets used again}} | {{KV|Un-Use Sentence|intn=UnUseSentence|string|Sentence spoken NPC gets used again}} | ||
{{KV|Don't Use Speech Semaphore|intn=DontUseSpeechSemaphore|bool|Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases, we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks.}} | {{KV|Don't Use Speech Semaphore|intn=DontUseSpeechSemaphore|bool|Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases, we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks.}} | ||
{{KV BaseNPC|game={{{game|}}}|noscroll={{{noscroll|0}}}}}</onlyinclude>[[Category:Keyvalue Templates|TalkNPC]] | {{KV BaseNPC|game={{{game|}}}|noscroll={{{noscroll|0}}}}}</onlyinclude>[[Category:Keyvalue Templates|TalkNPC]] |
Latest revision as of 06:19, 30 September 2025

TalkNPC:
- Un-Use Sentence (UnUseSentence) <string>
- Sentence spoken NPC gets used again
- Don't Use Speech Semaphore (DontUseSpeechSemaphore) <boolean>
- Friendly NPCs are not allowed to speak if another friendly NPC is speaking. In some cases, we don't want speaking NPCs to prevent other NPCs from speaking (for instance, if there is a friendly NPC speaking for a long time on a monitor). To make this NPC not prevent other NPCs from talking, make it not grab the semaphore when it speaks.
CBaseCombatCharacter:
CAI_BaseNPC:
DamageFilter:
|