Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
(updates)
Line 1: Line 1:
{{hl2 point|ai_citizen_response_system}}
{{hl2 point|ai_citizen_response_system}} If placed in the level, it will manage the responses of [[Npc_citizen|citizens]] to player's actions. Only one should be in the map ever.


== Entity description ==
{{code class|CCitizenResponseSystem|npc_citizen17.cpp}}
If placed in the level, will manage the responses of [[Npc_citizen|citizens]] to player's actions.


== Keyvalues ==
==Keyvalues==
{{KV Targetname}}
{{KV BaseEntity|base=1}}


== Inputs ==
==Inputs==
{{I Targetname}}
{{IO|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}}
{{IO|ResponseVitalNPC|Fire the VitalNPC Died response.}}
{{I BaseEntity|base=1}}


== Outputs ==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}


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

Revision as of 16:33, 1 September 2018

Template:Hl2 point If placed in the level, it will manage the responses of citizens to player's actions. Only one should be in the map ever.

C++ In code, it is represented by theCCitizenResponseSystemclass, defined in thenpc_citizen17.cppfile.

Keyvalues

Inputs

ResponseVitalNPC
Fire the CR_VITALNPC_DIED response.


Outputs