info_goal_infected_chase

From Valve Developer Community
Revision as of 17:56, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search
C++ Class hierarchy
CInfoGoalInfectedChase
CPointEntity
CBaseEntity

info_goal_infected_chase is a point entity 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.