GTAG - Modding - Opcode Database - 008E
Opcode Database
008E
| Description | Converts the float value of the global variable to an integer (via flooring) and stores the result into a local variable. |
|---|---|
| Parameters (v2) | 1) (Returned) Local variable (LVAR_INT) 2) Float (FLOAT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 008E=2,%1d% = float_to_int %2d% |
| Example | 008E: 0@ = float float to_integer |
| Command Name | CSET_LVAR_INT_TO_VAR_FLOAT |
| Vice City | |
| sascm.ini | 008E=2,%1d% = float_to_integer %2d% |
| Example | 008E: 0@ = float float to_integer |
| GTA III | |
| gtascm.ini | 008E=2,%1d% = float_to_integer %2d% |
| Example | 008E: 0@ = float float to_integer |

