Difference between revisions of "0A32"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code>0A32=1,%1d%</code><br>
+
{{OpCode
'''Description''': Unknown<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Handlevar of an actor<br>
+
| command    = IS_CHAR_ATTACHED_TO_ANY_CAR
'''Supports''': GTA3 (?), Vice City (?), San Andreas<br>
+
| description = Checks if the character is attached to any vehicle.
 +
| syntax1    = 0A32: &nbsp; actor [''char handle''] on_turret_of_car
 +
| p1t        = [''char handle'']
 +
| p1d        = The handle of the character
 +
}}
  
This opcode seems to check if an actor has entered a car as a non-usual passenger on a seat. It is used for the Hotdog-Seller and the girl in the car of the lowrider missions.
+
This conditional opcode returns true when the character is attached ("turreted") to any vehicle.
  
==Keywords==
+
== Keywords ==
Unknown actor check
+
actor, character, turret, attach, attached, car, vehicle
 
 
[[Category:Unknown_OpCodes]]
 

Latest revision as of 19:22, 27 January 2016

San Andreas IS_CHAR_ATTACHED_TO_ANY_CAR


Description
Checks if the character is attached to any vehicle.
Syntax
0A32:   actor [char handle] on_turret_of_car
Parameter
[char handle]
The handle of the character

This conditional opcode returns true when the character is attached ("turreted") to any vehicle.

Keywords

actor, character, turret, attach, attached, car, vehicle