Info goal infected chase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
(-enable/disable desc, cleanup)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{CD|CInfoGoalInfectedChase}}
{{CD|CInfoGoalInfectedChase}}
{{this is a|e0|game=Left 4 Dead series|name=info_goal_infected_chase}} It attracts (already angered) infected like the pipe bomb to give them something to do during outros. Put this in hierarchy with the escape vehicle or with a func_tracktrain to make all the infected in the map chase it!
{{this is a|e0|game=Left 4 Dead series|name=info_goal_infected_chase}} It attracts common infected like the vomit jar to give them something to do during outros. Put this in hierarchy with the escape vehicle or with a func_tracktrain to make all the infected in the map chase it!


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}


== Inputs ==
== Inputs ==
{{I Parentname}}
{{IO|Enable|Start attracting all infected in the map.}}
{{I EnableDisable}}
{{IO|Disable|Stop attracting infected.}}


== Trivia ==
== Trivia ==
* Bile Bombs's ([[weapon_vomitjar_spawn]]) ability to draw in infected is actually done by making use of this entity; Inputting<code>script Convars.SetValue("developer","2")</code>lets you see this entity being spawned, and killed when the Bile Bomb expires.
* Bile Bombs's ([[weapon_vomitjar_spawn]]) ability to draw in infected is actually done by making use of this entity; Inputting<code>script Convars.SetValue("developer","2")</code>lets you see this entity being spawned, and killed when the Bile Bomb expires.

Revision as of 12:16, 8 February 2024

C++ Class hierarchy
CInfoGoalInfectedChase
CPointEntity
CBaseEntity

info_goal_infected_chase is an e0 available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It attracts common infected like the vomit jar to give them something to do during outros. Put this in hierarchy with the escape vehicle or with a func_tracktrain to make all the infected in the map chase it!

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

Enable
Start attracting all infected in the map.
Disable
Stop attracting infected.

Trivia

  • Bile Bombs's (weapon_vomitjar_spawn) ability to draw in infected is actually done by making use of this entity; Inputtingscript Convars.SetValue("developer","2")lets you see this entity being spawned, and killed when the Bile Bomb expires.