source-2-wiki

Unofficial Source 2 Wiki

View on GitHub

CBaseTrigger

Methods

Enable

void Enable()
Enable the trigger

IsTouching

bool IsTouching(handle hEnt)
Checks whether the passed entity is touching the trigger.

Disable

void Disable()
Disable's the trigger