portalmp_gamerules

From Valve Developer Community
Jump to: navigation, search
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.

portalmp_gamerules is a point entity available in Portal 2 Portal 2.

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>
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 <integer>
Add to the Red team score (can be a negative number)
AddBlueTeamScore <integer>
Add to the Blue team score (can be a negative number)


Outputs