Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Multipage removal)
m (Nesciuse moved page Ai citizen response system/en to Ai citizen response system without leaving a redirect: Move en subpage to basepage)
(No difference)

Revision as of 04:11, 12 July 2024

English (en)Translate (Translate)

ai_citizen_response_system is a point entity available in Half-Life 2 Half-Life 2, Half-Life 2: Episode One Half-Life 2: Episode One, Half-Life 2: Episode Two Half-Life 2: Episode Two, and Half-Life 2: Deathmatch Half-Life 2: Deathmatch.

English (en)Translate (Translate)

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

This entity is in the FGD for Alien Swarm, but is removed from games code.

Note.pngNote:This entity is also in the code for Portal Portal. Its functionality is not guaranteed.


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

Keyvalues

Inputs

ResponseVitalNPC
Fire the CR_VITALNPC_DIED response.


Outputs