Game scavenge progress display: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy)
(-added image, description)
Line 1: Line 1:
[[File:Progress display.png|thumb]]
{{CD|CScavengeProgressDisplay}}
{{CD|CScavengeProgressDisplay}}
{{l4d2 point|game_scavenge_progress_display}} It displays the number of scavenge items successfully filled by survivors.
{{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.


== Keyvalues ==
== Keyvalues ==

Revision as of 21:33, 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 any point_prop_use_target in the given round on the upper part of the screen as <number_of_cans_filled> / <Max>. Number of filled cans can only be increased. Turning it off and back on won't nullify the amount.

Keyvalues

Max (Max) <integer>
Number of items to collect.
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

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