Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Heaven forbid my script works flawlessly on it's first run)
(IO wikicode updated)
Line 6: Line 6:


== Keyvalues ==
== Keyvalues ==
*{{KV Targetname}}
{{KV Targetname}}


== Inputs ==
== Inputs ==
*{{I Targetname}}
{{I Targetname}}
 
{{IO|ResponseVitalNPC|Fire the VitalNPC Died response.}}
*'''ResponseVitalNPC'''
:Fire the VitalNPC Died response.


== Outputs ==
== Outputs ==
*{{O Targetname}}
{{O Targetname}}


[[Category:AI]]
[[Category:AI]]
[[Category:Entities]]
[[Category:Entities]]

Revision as of 16:15, 3 February 2012

Template:Hl2 point

Entity description

If placed in the level, will manage the responses of citizens to player's actions.

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

ResponseVitalNPC
Fire the VitalNPC Died response.

Outputs