Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(lang)
(→‎Inputs: |prel4d=1)
Line 9: Line 9:
==Inputs==
==Inputs==
{{IO|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}}
{{IO|ResponseVitalNPC|Fire the <code>CR_VITALNPC_DIED</code> response.}}
{{I BaseEntity|base=1}}
{{I BaseEntity|base=1|prel4d=1}}


==Outputs==
==Outputs==

Revision as of 14:43, 7 September 2018

English (en)Translate (Translate)

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