prop_portal_stats_display

From Valve Developer Community
Revision as of 08:50, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

prop_portal_stats_display is an e0 available in Portal series Portal series. It is an elevator prop which displays stats for challenge maps when enabled. It will not function unless sv_bonus_challenge is set (which happens automatically in challenge mode).

Note.pngNote:While implemented and mostly functional in Portal 2, this entity is no longer used for its challenge mode and is mostly obsolete.

Keyvalues

Inputs

Enable
Turn on and display the current stats
Disable
Turn off stats display
UpdateStats
Updates the stats to the player's current level stats
ResetPlayerStats
Resets the current level stats of the player


Outputs

OnMetPortalObjective
Fired when enabled and player met the number of portal placements.
OnMetStepsObjective
Fired when enabled and player met the number of foot steps.
OnMetSecondsObjective
Fired when enabled and player met the number of seconds.
OnFailedAllObjectives
Fired when enabled and player met no objectives.