GTAG - Modding - Opcode Database - 04C4
Opcode Database
04C4
| Description | Stores 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) |
| Games | |
| Category | Actor, Common |
| Command Name (IV) | GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS |
| San Andreas | |
| sascm.ini | 04C4=7,get_offset_from_char_in_world_coords %1d% offset %2d% %3d% %4d% store_to %5d% %6d% %7d% |
| Example | 04C4: 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 Name | GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS |
| Vice City | |
| sascm.ini | 04C4=7,create_coordinate %5d% %6d% %7d% from_actor %1d% offset %2d% %3d% %4d% |
| Example | 04C4: create_coordinate $896 $897 $898 from_actor $854 offset 0.0 1.2 0.0 |
| Command Name | GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS |

