Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.

CPortal_Player

GetWheatleyMonitorDestructionCount

Get number of wheatley monitors destroyed by the player.

int CPortal_Player::GetWheatleyMonitorDestructionCount()

IncWheatleyMonitorDestructionCount

Set number of wheatley monitors destroyed by the player.

void CPortal_Player::IncWheatleyMonitorDestructionCount()

TurnOffPotatos

Turns Off the Potatos material light

void CPortal_Player::TurnOffPotatos()

TurnOnPotatos

Turns On the Potatos material light

void CPortal_Player::TurnOnPotatos()