Template:KV TalkNPC

From Valve Developer Community
Revision as of 21:07, 5 August 2006 by Ts2do (talk | contribs) (ep1 add)
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
<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.