GTAG - Modding - Opcode Database - 0082
Opcode Database
0082
| Description | Multiplies the delta time since the last frame by the value of the specified global variable and subtracts the result from the specified local variable. See 0078. |
|---|---|
| Parameters (v2) | 1) (Returned) Float (LVAR_FLOAT) 2) Float (VAR_FLOAT) |
| Games | |
| Category | Draw, Math |
| San Andreas | |
| sascm.ini | 0082=2,%1d% -= frame_delta_time * %2d% ; (float) |
| Example | 0082: 18@ -= frame_delta_time * $8736 // (float) |
| Command Name | SUB_TIMED_FLOAT_VAR_FROM_FLOAT_LVAR |
| Vice City | |
| sascm.ini | 0082=2,%1d% -= frame_delta_time * %2d% ;; floating-point (never used in VC or GTA 3) |
| Example | 0082: 9@ -= frame_delta_time * $float // (float) |
| GTA III | |
| gtascm.ini | 0082=2,%1d% -= frame_delta_time * %2d% ;; floating-point |
| Example | 0082: 9@ -= frame_delta_time * $float // (float) |

