Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 04C4

Opcode Database

04C4

DescriptionStores the coordinates of an actor, with an offset.
Parameters (v2)1) 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
CategoryActor, Common
Command Name (IV)GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS
San Andreas
sascm.ini04C4=7,get_offset_from_char_in_world_coords %1d% offset %2d% %3d% %4d% store_to %5d% %6d% %7d%
Example04C4: get_offset_from_char_in_world_coords 215@ offset 1.0 3.0 1.0 store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3
Command NameGET_OFFSET_FROM_CHAR_IN_WORLD_COORDS
Vice City
sascm.ini04C4=7,create_coordinate %5d% %6d% %7d% from_actor %1d% offset %2d% %3d% %4d%
Example04C4: create_coordinate $896 $897 $898 from_actor $854 offset 0.0 1.2 0.0
Command NameGET_OFFSET_FROM_CHAR_IN_WORLD_COORDS

<< 04C2

04C5 >>