0190

From GTAModding
Jump to: navigation, search

GTA III Vice City San Andreas ADD_UPSIDEDOWN_CAR_CHECK


Description
Adds the vehicle to the upside down car check
Syntax
0190: add_vehicle [car handle] to_flipped_check
Parameter
[car handle]
The handle of the vehicle

This opcode adds the vehicle to the upside down car check, a special memory pool to check if the vehicle is flipped. A maximum number of six vehicles can be added to this pool. Every millisecond the game checks the current state of the vehicles in the pool. If a vehicle is flipped over, i.e. its translation and rotational movements are minimal while upside down, the game counts the time passed from this moment. Opcode 018F reads this passed time to check if the vehicle is stuck on its roof.

Keywords

add, check, car, vehicle, stuck, roof, flip, flipped, upside, down

See also

  • GTA III Vice City San Andreas 018F, checks if the vehicle is "stuck on its roof"
  • GTA III Vice City San Andreas 0191, removes the vehicle from the upside down car check