Ai npc eventresponsesystem: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (Robot: fixing template case.)
Line 5: Line 5:
* {{kv targetname}}
* {{kv targetname}}
==Inputs==
==Inputs==
* {{i targetname}}
* {{I Targetname}}
* '''TriggerResponseEvent <string>'''
* '''TriggerResponseEvent <string>'''
: Fire an NPC Response Event. The parameter should match the response rules concept that any nearby friendly NPCs will try to speak.
: Fire an NPC Response Event. The parameter should match the response rules concept that any nearby friendly NPCs will try to speak.

Revision as of 19:38, 19 January 2009

Template:Wrongtitle

Entity Description

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

Keyvalues

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