SOUND
Description
Enumerations used by sound.EmitHint.
Values
SOUND_NONE | 0 | |
SOUND_COMBAT | 1 | |
SOUND_WORLD | 2 | |
SOUND_PLAYER | 4 | |
SOUND_DANGER | 8 | |
SOUND_BULLET_IMPACT | 16 | |
SOUND_CARCASS | 32 | Considered a scent. |
SOUND_MEAT | 64 | Considered a scent. |
SOUND_GARBAGE | 128 | Considered a scent. |
SOUND_THUMPER | 256 | Keeps certain creatures at bay, such as Antlions. |
SOUND_BUGBAIT | 512 | Gets the antlion's attention. |
SOUND_PHYSICS_DANGER | 1024 | |
SOUND_DANGER_SNIPERONLY | 2048 | Only scares the sniper NPC. |
SOUND_MOVE_AWAY | 4096 | |
SOUND_PLAYER_VEHICLE | 8192 | |
SOUND_READINESS_LOW | 16384 | Changes listener's readiness (Player Companion only) |
SOUND_READINESS_MEDIUM | 32768 | |
SOUND_READINESS_HIGH | 65536 | |
SOUND_CONTEXT_FROM_SNIPER | 1048576 | Additional context for SOUND_DANGER |
SOUND_CONTEXT_GUNFIRE | 2097152 | Added to SOUND_COMBAT |
SOUND_CONTEXT_MORTAR | 4194304 | Explosion going to happen here. |
SOUND_CONTEXT_COMBINE_ONLY | 8388608 | Only combine can hear sounds marked this way. |
SOUND_CONTEXT_REACT_TO_SOURCE | 16777216 | React to sound source's origin, not sound's location |
SOUND_CONTEXT_EXPLOSION | 33554432 | Context added to SOUND_COMBAT, usually. |
SOUND_CONTEXT_EXCLUDE_COMBINE | 67108864 | Combine do NOT hear this |
SOUND_CONTEXT_DANGER_APPROACH | 134217728 | Treat as a normal danger sound if you see the source, otherwise turn to face source. |
SOUND_CONTEXT_ALLIES_ONLY | 268435456 | Only player allies can hear this sound. |
SOUND_CONTEXT_PLAYER_VEHICLE | 536870912 | HACK: need this because we're not treating the SOUND_xxx values as true bit values! See switch in OnListened. |