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) |
Kestrelguy (talk | contribs) m (can now command KV BaseNPC.) |
||
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.}} | ||
<onlyinclude>{{minititle|TalkNPC}} | |||
{{KV|Use Sentence|string|Sentence spoken when the NPC gets {{ent|+use}}d by a player}} | |||
{{KV|Un-Use Sentence|string|Sentence spoken NPC gets used again}} | {{KV|Un-Use Sentence|string|Sentence spoken NPC gets used again}} | ||
{{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|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 BaseNPC}} | {{KV BaseNPC|game={{{game|}}}|noscroll={{{noscroll|0}}}}}</onlyinclude>[[Category:Keyvalue Templates|TalkNPC]] | ||
}}< |
Revision as of 15:30, 20 October 2022

{{KV BaseNPC}}
and feeds them to it.TalkNPC:
- Use Sentence ([todo internal name (i)]) <string>
- Sentence spoken when the NPC gets +used by a player
- Don't Use Speech Semaphore ([todo internal name (i)]) <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:
|