Template:KV TalkNPC: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=TalkNPC|noscroll=1| | |||
; Use Sentence <code><string></code> | |||
: Sentence spoken when the NPC gets ''used'' | |||
; Un-Use Sentence <code><string></code> | |||
: Sentence spoken NPC gets ''used'' again | |||
; {{EP1 add|Don't Use Speech Semaphore <code><[[bool]]></code>}} | |||
: If set, 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}} | ||
}} | |||
Revision as of 12:55, 19 July 2009
TalkNPC:
- Use Sentence
<string>
- Sentence spoken when the NPC gets used
- Un-Use Sentence
<string>
- Sentence spoken NPC gets used again
- Don't Use Speech Semaphore
<bool>
(in all games since)
- If set, 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:
|