Ai citizen response system: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (WisdomBot moved page Ai citizen response system to Ai citizen response system/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.)
m (Multipage removal)
Line 1: Line 1:
{{langsp}}
{{LanguageBar}}
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of , please move {{this is a}} to the base page, as it is automatically translated. -->If placed in the level, it will manage the responses of [[Npc_citizen|citizens]] to player's actions. Only one should be placed in the map ever.
{{this is a|point entity|name=ai_citizen_response_system|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}}{{langsp}}
<!-- When this page is updated to {{langsp}} or instead of , please move {{this is a}} to the base page, as it is automatically translated. -->If placed in the level, it will manage the responses of [[Npc_citizen|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.
This entity is in the [[FGD]] for Alien Swarm, but is removed from games code.
Line 17: Line 18:
==Outputs==
==Outputs==
{{O BaseEntity}}
{{O BaseEntity}}
[[Category:AI]]

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