Point prop use target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 151576 by Pranavwright (Talk) Spam)
(Reformat)
Line 1: Line 1:
{{l4d2 point|point_prop_use_target}}
{{l4d2 point|point_prop_use_target}} 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.
{{stub}}
 
== 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 ==
== Keyvalues ==
* {{KV Origin}}
{{KV|Gas nozzle|target_destination|The name of the prop_dynamic gas nozzle for this use_target (scavenge mode).}}
* {{KV Targetname}}
{{KV Origin}}
* {{ScrollBox|title=nozzle|
{{KV Targetname}}
; Gas nozzle <code><target_destination></code>
: The name of the prop_dynamic gas nozzle for this use_target (scavenge mode).
}}


== Flags ==
== Flags ==
* Useable[sic] by Gas Can
* 1 : Useable by Gas Can
* Useable[sic] by Cola Bottles
* 2 : Useable by Cola Bottles


== Inputs ==
== 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.
{{I Targetname}}
{{I Targetname}}


== Outputs ==
== Outputs ==
{{IO|OnUseStarted|Fired when a player starts using this target.}}
{{IO|OnUseCancelled|Fired when a player use is cancelled.}}
{{IO|OnUseFinished|Fired when a player use is complete.}}
{{O Targetname}}
{{O Targetname}}


== See also ==
== See also ==
* [[L4D2 Level Design/Scavenge Maps]]
* [[L4D2 Level Design/Scavenge Maps]]
== External links ==

Revision as of 08:04, 12 August 2011

Template:L4d2 point 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 ([todo internal name (i)]) <targetname>
The name of the prop_dynamic gas nozzle for this use_target (scavenge mode).

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

Flags

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

Inputs

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