This article relates to the game "Team Fortress 2". Click here for more information.

mapobj_cart_dispenser

From Valve Developer Community
Jump to navigation Jump to search

English (en)Translate (Translate)

mapobj_cart_dispenser is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

The origin point of the healing stream provided by a dispenser_touch_trigger.

Keyvalues

Name (targetname) <string>
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.
BaseObject:
Team (TeamNum) <choices>
Team
  • 2 : Red
  • 3 : Blue

Flags

BaseObject:
Invulnerable : [2]
Icon-Bug.pngBug:Invulnerable buildings can still be stunned with the Tfwiki favicon.png Sapper or completely destroyed with the Tfwiki favicon.png Red-Tape Recorder.  [todo tested in?]

Ignore line of sight check : [4]

Don't heal disguised/stealthed spies : [8]

Note.pngNote:This specifically prevents the dispenser from targeting friendly players disguised as enemies. (i.e. red dispensers will not heal red spies disguised as blue players.)

Inputs

Parentname:
SetParent <string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <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 <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.
SetDispenserLevel <integer>
Set the level of the dispener.

Outputs