CSound
Sound class used by CSoundEnt
Type: Reference
Methods
| Declaration | Description | 
|---|---|
| void Clear() | Clears the sound | 
| void Reset() | Resets the sound | 
| bool FIsSound() | Returns whether this is a sound | 
| bool FIsScent() | Returns whether this is a scent | 
Properties
| Declaration | Description | 
|---|---|
| Vector m_vecOrigin | Sound's location in space | 
| int m_iType | What type of sound this is | 
| int m_iVolume | How loud the sound is | 
| float m_flExpireTime | When the sound should be purged from the list | 
| int m_iNext | Index of next sound in this list ( Active or Free ) | 
| int m_iNextAudible | Temporary link that monsters use to build a list of audible sounds | 
| EHandle hOwner | Sounds now have OWNERS... (For various AI checks) |