Info goal infected chase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (trivia, cant put this in the summaryu)
Line 1: Line 1:
{{l4d series point|info_goal_infected_chase}} It attracts 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!
{{l4d series point|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!


== Keyvalues ==
== Keyvalues ==
Line 12: Line 12:
== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}
== 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.

Revision as of 23:31, 17 March 2021

Template:L4d series point 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!

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

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

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.