Prop portal stats display: Difference between revisions
Jump to navigation
Jump to search
Note:While implemented and mostly functional in Portal 2, this entity is no longer used for its challenge mode and is mostly obsolete.
(Cleanup) |
No edit summary |
||
Line 1: | Line 1: | ||
{{portal point|prop_portal_stats_display}} | {{portal series point|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.}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV | {{KV BaseEntity|base=1|l4d2=1}} | ||
== Inputs == | == Inputs == | ||
Line 11: | Line 10: | ||
{{IO|Disable|Turn off stats display}} | {{IO|Disable|Turn off stats display}} | ||
{{IO|UpdateStats|Updates the stats to the player's current level stats}} | {{IO|UpdateStats|Updates the stats to the player's current level stats}} | ||
{{IO|ResetPlayerStats|Resets the | {{IO|ResetPlayerStats|Resets the current level stats of the player}} | ||
{{I | {{I BaseEntity|base=1|l4d2=1|portal2=1}} | ||
== Outputs == | == Outputs == | ||
Line 20: | Line 18: | ||
{{IO|OnMetSecondsObjective|Fired when enabled and player met the number of seconds.}} | {{IO|OnMetSecondsObjective|Fired when enabled and player met the number of seconds.}} | ||
{{IO|OnFailedAllObjectives|Fired when enabled and player met no objectives.}} | {{IO|OnFailedAllObjectives|Fired when enabled and player met no objectives.}} | ||
{{O | {{O BaseEntity}} |
Revision as of 16:04, 23 August 2020
Template:Portal series point 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).

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.