Template:KV TalkNPC: Difference between revisions
Jump to navigation
Jump to search
Tip:This template accepts the same parameters as
Deprecated (talk | contribs) m (Added to Keyvalue Templates category) |
(intn for Source/HL2 keyvalue templates) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{lang|{{FULLPAGENAME}}}} | ||
{{KV|Use Sentence|string|Sentence spoken when the NPC gets | {{tip|This template accepts the same parameters as {{tl|KV BaseNPC}} and feeds them to it.}} | ||
{{KV|Un-Use Sentence|string|Sentence spoken NPC gets used again}} | <onlyinclude>{{minititle|TalkNPC}} | ||
{{KV|Don't Use Speech Semaphore|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|Use Sentence|intn=UseSentence|string|Sentence spoken when the NPC gets {{ent|+use}}d by a player}} | ||
{{KV BaseNPC}} | {{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 BaseNPC|game={{{game|}}}|noscroll={{{noscroll|0}}}}}</onlyinclude>[[Category:Keyvalue Templates|TalkNPC]] |
Latest revision as of 13:49, 9 July 2024

{{KV BaseNPC}}
and feeds them to it.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:
|