Portalmp gamerules: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: Substituted IO templates)
No edit summary
 
Line 1: Line 1:
{{Obsolete|entity=1}}
{{Obsolete|entity=1}}
{{this is a|point entity|game=Portal 2|name=portalmp_gamerules}}  
{{this is a|logical entity|game=Portal 2|name=portalmp_gamerules}} This entity was likely the entity managing the scrapped multiplayer mode before Portal 2's current Co-OP mode.
 
==Entity description==
This entity was likely the entity managing the scrapped multiplayer mode before Portal 2's current Co-OP mode.


== Keyvalues ==
== Keyvalues ==
Line 11: Line 8:
{{I|AddRedTeamScore|Add to the Red team score (can be a negative number)|param=integer}}
{{I|AddRedTeamScore|Add to the Red team score (can be a negative number)|param=integer}}
{{I|AddBlueTeamScore|Add to the Blue team score (can be a negative number)|param=integer}}
{{I|AddBlueTeamScore|Add to the Blue team score (can be a negative number)|param=integer}}
{{I Targetname}}
== Outputs ==
{{O Targetname}}

Latest revision as of 02:16, 6 June 2025

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

portalmp_gamerules is a logical entity available in Portal 2 Portal 2. This entity was likely the entity managing the scrapped multiplayer mode before Portal 2's current Co-OP mode.

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

Inputs

AddRedTeamScore <integerRedirectInput/integer>
Add to the Red team score (can be a negative number)
AddBlueTeamScore <integerRedirectInput/integer>
Add to the Blue team score (can be a negative number)