point_prop_use_target
Jump to navigation
Jump to search
Code classes:
CPointPropUseTarget
CBaseEntity
(all ents)
point_prop_use_target
is a point entity present in Left 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]
- 1: Useable by Gas Can
- 2: Useable by Cola Bottles
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.