Difference between revisions of "0190"

From GTAMods Wiki
Jump to navigation Jump to search
 
(page updates)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<code>0190=1,%1d%</code><br>
+
{{OpCode
'''Description''': Adds a car to the flip check<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': A car handle<br>
+
| command    = ADD_UPSIDEDOWN_CAR_CHECK
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| 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 handle to special memory pool to check if the car is flipped. The pool may contain up to 6 such handles. The game every ms checks the current state of the car. If it was flipped (lies on its roof) the game counts the time passed from this moment. This time is used by [[018F]]. Mainly this opcode is used in the races.
+
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
+
add, check, car, vehicle, stuck, roof, flip, flipped, upside, down
  
[[Category:OpCodes]]
+
== 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

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