Type / to search schemas

CAI_VolumetricEventSensor

ai_volumetric_event_sensor1384 bytes (0x0568), align 8Source

Fields

ai_volumetric_event_sensorspawnable

Keyvalues

Inputs

NamePulseDescription
—
—
GetSensedEvents() → (retval: array<leaf<AI_VolumetricEventHandle_t>>)
Returns all currently sensed events

Outputs

NameDescription
Fired when the last sensor event has ended.
OnEventEnded(param: leaf<AI_VolumetricEventHandle_t>)
Fired whenever this sensor hears any sound it cares about. The activator is the owner of the event (can be null).
OnEventStarted(hEvent: leaf<AI_VolumetricEventHandle_t>, vOrigin: vec3_worldspace, flRadius: float)
Fired whenever this sensor hears any sound it cares about. The activator is the owner of the event (can be null).