point_prop_use_target

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CPointPropUseTarget
CBaseEntity

point_prop_use_target is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It is an 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

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

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Flags

  •  [1] : Useable by Gas Can
  •  [2] : Useable by Cola Bottles

Outputs

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.

See also