Prop portal stats display: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{this is a|e0|series=portal|name=prop_portal_stats_display}} It is an elevator prop which displays stats for challenge maps when enabled. It will not function unless <code>sv_bonus_challenge</code> is set (which happens automatically in challenge mode).
{{this is a|point entity|series=Portal|name=prop_portal_stats_display}} It is an elevator prop which displays stats for challenge maps when enabled. It will not function unless <code>sv_bonus_challenge</code> is set (which happens automatically in challenge mode).


{{note|While implemented and mostly functional in Portal 2, this entity is no longer used for its challenge mode and is mostly obsolete.}}
{{note|While implemented and mostly functional in Portal 2, this entity is no longer used for its challenge mode and is mostly obsolete.}}

Revision as of 17:32, 17 May 2024

prop_portal_stats_display is a point entity 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.