Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0855

Opcode Database

0855

DescriptionThis 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)
Gamessa
CategoryActor, Sound
Command Name (IV)GET_SOUND_LEVEL_AT_COORDS
San Andreas
sascm.ini0855=5,get_sound_level_at_coords %1d% coords %2d% %3d% %4d% store_to %5d%
Example0855: get_sound_level_at_coords -1 coords 160@ 161@ 162@ store_to 166@
Command NameGET_SOUND_LEVEL_AT_COORDS

<< 0853

0856 >>