Portalmp gamerules: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Entity is obsolete)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{Obsolete|entity=1}}
{{Obsolete|entity=1}}
{{portal2 point|portalmp_gamerules}}  
{{this is a|e0|game=portal2|name=portalmp_gamerules}}  


==Entity description==
==Entity description==

Revision as of 09:02, 7 January 2024

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

portalmp_gamerules is an e0 available in Portal 2 Portal 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{portal2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Portal 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

Entity description

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)


Outputs