Game scavenge progress display

From Valve Developer Community
Revision as of 21:37, 6 September 2023 by Nescius (talk | contribs) (-desc)
Jump to navigation Jump to search
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