Point prop use target

From Valve Developer Community
Revision as of 04:54, 23 May 2011 by Barracuda (talk | contribs) (Undo revision 151576 by Pranavwright (Talk) Spam)
Jump to navigation Jump to search

Template:L4d2 point

Stub

This article or section is a stub. You can help by expanding it.

Entity description

A use target for carried props. Triggers the prop's use behavior. This is the point entity that players approach and "fills the gas" or "drops off the cola" with. Currently only available for gas can and cola props.

Keyvalues

  • Origin:
Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
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

  • nozzle:
Gas nozzle <target_destination>
The name of the prop_dynamic gas nozzle for this use_target (scavenge mode).

Flags

  • Useable[sic] by Gas Can
  • Useable[sic] by Cola Bottles

Inputs

OnUseStarted
Fired when a player starts using this target.
OnUseCancelled
Fired when a player use is cancelled.
OnUseFinished
Fired when a player use is complete.


Outputs

See also

External links