portalmp_gamerules

From Source Entities
Jump to navigation Jump to search

Code classes:

portalmp_gamerules is a point entity present in P2.pngPortal 2. This entity is automatically created in coop maps and manages some aspects of multiplayer Portal 2, such as gesture unlocking and course unlocking. It also has a lot of code taken from hl2mp_gamerules for respawning weapons.

Inputs[edit | edit source]

AddBlueTeamScore <integer>
No visible effects. This should cause the game to reach some kind of win state when mp_winlimit is above 0 and a score is above that number, but no effect is seen.
AddRedTeamScore <integer>
No visible effects.