GTAG - Modding - Opcode Database - 0855
Opcode Database
0855
| Description | This opcode gets the level that the character can hear noise at the specified position. The character parameter can be omitted by using -1 to use the general sound level. |
|---|---|
| Parameters (v2) | 1) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) (Returned) Float (FLOAT) |
| Games | |
| Category | Actor, Sound |
| Command Name (IV) | GET_SOUND_LEVEL_AT_COORDS |
| San Andreas | |
| sascm.ini | 0855=5,get_sound_level_at_coords %1d% coords %2d% %3d% %4d% store_to %5d% |
| Example | 0855: get_sound_level_at_coords -1 coords 160@ 161@ 162@ store_to 166@ |
| Command Name | GET_SOUND_LEVEL_AT_COORDS |

