Entity systemClasses
CAmbientGeneric
Schema class CAmbientGeneric, derived from CPointEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CAmbientGeneric.h
Inherits CPointEntity
Fields
| Field | Type |
|---|---|
m_radius | float |
m_flMaxRadius | float |
m_iSoundLevel | soundlevel_t |
m_dpv | dynpitchvol_t |
m_fActive | bool |
m_fLooping | bool |
m_iszSound | CGameSoundEventName |
m_sSourceEntName | CUtlSymbolLarge |
m_hSoundSource | CHandle<CBaseEntity> |
m_nSoundSourceEntIndex | CEntityIndex |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).