Portal 2: Community Edition

Documentation

Home ReferenceVScriptAngelscriptPanorama
GitHub
Edit

CPlayerVoiceListener

Signature Description
float CPlayerVoiceListener::GetPlayerSpeechDuration(int) Returns the number of seconds the player has been continuously speaking.
bool CPlayerVoiceListener::IsPlayerSpeaking(int) Returns whether the player specified is speaking.