GTAG - Modding - Opcode Database - 0604
Opcode Database
0604
| Description | Gets the angle for the XY offset. |
|---|---|
| Parameters (v2) | 1) X Coord (Float) (FLOAT) 2) Y Coord (Float) (FLOAT) 3) (Returned) Angle (Float) (FLOAT) |
| Games | |
| Category | Math |
| Command Name (IV) | GET_HEADING_FROM_VECTOR_2D |
| San Andreas | |
| sascm.ini | 0604=3,get_heading_from_vector_2d %1d% %2d% store_to %3d% |
| Example | 0604: get_heading_from_vector_2d $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 store_to $TEMPVAR_ANGLE |
| Command Name | GET_HEADING_FROM_VECTOR_2D |

