point_prop_use_target

From Source Entities
Jump to navigation Jump to search

Code classes:

point_prop_use_target is a point entity present in L4d2-small.pngLeft 4 Dead 2. It's a target for players carrying props (gas containers and cola bottles). When a player holds down +use on this entity, they play an animation which shows them using the prop in some way.

Flags[edit | edit source]

Keyvalues[edit | edit source]

Prop (Gas nozzle) (nozzle) <target_destination>
A prop_dynamic which will be shown to players as the "receptacle" for items.

Inputs[edit | edit source]

Activate
Allows the target to be used (allowed by default).
Deactivate
Disallows the target to be used. A hint will say someone else is using it.

Outputs[edit | edit source]

OnUseStarted
Fires when a player starts using this target.
OnUseCancelled
Fires when a player stops using this target.
OnUseFinished
Fires when a player finishes using this target.