Template:KV TalkNPC

From Valve Developer Community
Revision as of 19:18, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

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
  • DontUseSpeechSemaphore (in all games since Half-Life 2: Episode One)
<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.