Difference between revisions of "0190"
Jump to navigation
Jump to search
(page updates) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|t}} | |
− | ''' | + | | command = ADD_UPSIDEDOWN_CAR_CHECK |
− | '' | + | | description = Adds the vehicle to the upside down car check |
+ | | syntax1 = 0190: add_vehicle [''car handle''] to_flipped_check | ||
+ | | p1t = [''car handle''] | ||
+ | | p1d = The handle of the vehicle | ||
+ | }} | ||
− | This opcode adds the car | + | 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== | + | == Keywords == |
− | car, flip, | + | add, check, car, vehicle, stuck, roof, flip, flipped, upside, down |
− | [[ | + | == See also == |
+ | * {{Icon|t}} [[018F]], checks if the vehicle is "stuck on its roof" | ||
+ | * {{Icon|t}} [[0191]], removes the vehicle from the upside down car check |
Latest revision as of 14:54, 4 June 2016
- 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