Ai npc eventresponsesystem

From Valve Developer Community
Revision as of 14:16, 1 August 2018 by Pinsplash (talk | contribs) (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
Jump to navigation Jump to search

Template:Hl2 point (Since Half-Life 2: Episode One)

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 ([todo internal name (i)]) <string>
Fire an NPC Response Event. The parameter should match the response rules concept that any nearby friendly NPCs will try to speak.


ForceTriggerResponseEvent ([todo internal name (i)]) <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