- Adds the vehicle to the upside down car check
- 0190: add_vehicle [car handle] to_flipped_check
- [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.
add, check, car, vehicle, stuck, roof, flip, flipped, upside, down