Template:KV TalkNPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (ep1 add)
Line 6: Line 6:
* '''UnUseSentence'''
* '''UnUseSentence'''
: <string> Use this sentence for what to say when the NPC gets ''used'' again
: <string> Use this sentence for what to say when the NPC gets ''used'' again
* '''{{ep1 add|DontUseSpeechSemaphore}}'''
: {{boolean}} 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.

Revision as of 21:07, 5 August 2006

Template:Kv basenpc

  • UseSentence
<string> Use this sentence for what to say when the NPC gets used
  • UnUseSentence
<string> Use this sentence for what to say when the NPC gets used again
<boolean> 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.