Ai npc eventresponsesystem

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

Template:Wrongtitle

Entity Description

An entity that allows you to generate events for nearby friendly NPCs to respond to.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

  • TriggerResponseEvent <string>
Fire an NPC Response Event. The parameter should match the response rules concept that any nearby friendly NPCs will try to speak.
  • ForceTriggerResponseEvent <string>
Fire an NPC Response Event, and force the first available NPC to speak the response (breaking them out of any scene they're in). The parameter should match the response rules concept that any nearby friendly NPCs will try to speak.

Outputs