Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0400

Opcode Database

0400

DescriptionGets the coordinates of an object with an offset.
Parameters (v2)1) Object handle (Integer) (INT)
2) X Offset (Float) (FLOAT)
3) Y Offset (Float) (FLOAT)
4) Z Offset (Float) (FLOAT)
5) (Returned) X Coord (Float) (FLOAT)
6) (Returned) Y Coord (Float) (FLOAT)
7) (Returned) Z Coord (Float) (FLOAT)
Gamessa vc iii
CategoryCommon, Object
Command Name (IV)GET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS
San Andreas
sascm.ini0400=7,get_offset_from_object_in_world_coords %1d% offset %2d% %3d% %4d% store_to %5d% %6d% %7d%
Example0400: get_offset_from_object_in_world_coords 9@ offset 17@ 18@ 19@ store_to 20@ 21@ 22@
Command NameGET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS
Vice City
sascm.ini0400=7,create_coordinate %5d% %6d% %7d% from_object %1d% offset %2d% %3d% %4d%
Example0400: create_coordinate $448 $449 $450 from_object $714 offset -0.277 -16.662 3.152
Command NameGET_OFFSET_FROM_OBJECT_IN_WORLD_COORDS
GTA III
gtascm.ini0400=1,save_mayhem_time %1d%
Example0400: save_mayhem_time $389
Command NameREGISTER_4X4_MAYHEM_TIME

<< 03FF

0401 >>