Entity systemClasses
CTriggerLook
Schema class CTriggerLook, derived from CTriggerOnce.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CTriggerLook.h
Inherits CTriggerOnce
Fields
| Field | Type |
|---|---|
m_hLookTarget | CHandle<CBaseEntity> |
m_flFieldOfView | float |
m_flLookTime | float |
m_flLookTimeTotal | float |
m_flLookTimeLast | float |
m_flTimeoutDuration | float |
m_bTimeoutFired | bool |
m_bIsLooking | bool |
m_b2DFOV | bool |
m_bUseVelocity | bool |
m_bTestOcclusion | bool |
m_bTestAllVisibleOcclusion | bool |
m_OnTimeout | CEntityIOOutput |
m_OnStartLook | CEntityIOOutput |
m_OnEndLook | CEntityIOOutput |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).