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

FieldType
m_hLookTargetCHandle<CBaseEntity>
m_flFieldOfViewfloat
m_flLookTimefloat
m_flLookTimeTotalfloat
m_flLookTimeLastfloat
m_flTimeoutDurationfloat
m_bTimeoutFiredbool
m_bIsLookingbool
m_b2DFOVbool
m_bUseVelocitybool
m_bTestOcclusionbool
m_bTestAllVisibleOcclusionbool
m_OnTimeoutCEntityIOOutput
m_OnStartLookCEntityIOOutput
m_OnEndLookCEntityIOOutput

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page