Game scavenge progress display: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added image, description)
(-desc)
Line 1: Line 1:
[[File:Progress display.png|thumb]]
[[File:Progress display.png|thumb]]
{{CD|CScavengeProgressDisplay}}
{{CD|CScavengeProgressDisplay}}
{{l4d2 point|game_scavenge_progress_display}} It displays the number of gas cans successfully filled by survivors to any [[point_prop_use_target]] in the given round on the upper part of the screen as <code><number_of_cans_filled> / <Max></code>. Number of filled cans can only be increased. Turning it off and back on won't nullify the amount.
{{l4d2 point|game_scavenge_progress_display}} It displays the number of gas cans successfully filled by survivors to all [[point_prop_use_target]]s combined in the given round on the upper part of the screen as <code><number_of_cans_filled> / <Max></code>. Number of filled cans cannot be decreased. Turning it off and back on won't nullify the amount.


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV|Max|intn=Max|int|Number of items to collect.}}
{{KV|Max|intn=Max|int|Number of items to collect.}}
{{KV Targetname}}


== Inputs ==
== Inputs ==
Line 13: Line 13:


== See Also ==
== See Also ==
* [[point_prop_use_target]]
* [[weapon_scavenge_item_spawn]]
* [[weapon_scavenge_item_spawn]]

Revision as of 21:37, 6 September 2023

Progress display.png
C++ Class hierarchy
CScavengeProgressDisplay
CBaseEntity

Template:L4d2 point It displays the number of gas cans successfully filled by survivors to all point_prop_use_targets combined in the given round on the upper part of the screen as <number_of_cans_filled> / <Max>. Number of filled cans cannot be decreased. Turning it off and back on won't nullify the amount.

Keyvalues

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

Max (Max) <integer>
Number of items to collect.

Inputs

TurnOn
Turn the display on.
TurnOff
Turn the display off.
SetTotalItems <integerRedirectInput/integer>
Set the target (or total) number of scavenge items.

See Also