GTAG - Modding - Opcode Database - 02F7
Opcode Database
02F7
| Description | Gets the Y Coord of an angle. |
|---|---|
| Parameters (v2) | 1) Angle (Float) (FLOAT) 2) (Returned) Y Offset (Float) (FLOAT) |
| Games | |
| Category | Common, Math |
| Command Name (IV) | COS |
| San Andreas | |
| sascm.ini | 02F7=2,cos %1d% store_to %2d% |
| Example | 02F7: cos 45.0 store_to 13@ |
| Command Name | COS |
| Vice City | |
| sascm.ini | 02F7=2,%2d% = cosine %1d% |
| Example | 02F7: $973 = cosine $981 |
| Command Name | COS |
| GTA III | |
| gtascm.ini | 02F7=2,%2d% = cosine %1d% |
| Example | 02F7: $973 = cosine $981 |
| Command Name | COS |

