Difference between revisions of "ATTACH CAR TO CAR"

From GTAMods Wiki
Jump to navigation Jump to search
(Fixed some param's)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|p2d=Vehicle Parent
 
|p2d=Vehicle Parent
 
|p3t=bool
 
|p3t=bool
|p3d=Relative offsets
+
|p3d=Absolute offsets
 
|p4t=float
 
|p4t=float
 
|p4d=X Offset
 
|p4d=X Offset
Line 22: Line 22:
 
}}
 
}}
  
Attaches 2 Vehicles together. Rotation are in radians. If the 'Relative offsets' boolean is true the offsets are relative otherwise they are Absolute (to the world).
+
Attaches two Vehicles together. Rotation are in radians. If the 'Absolute offsets' boolean is true the offsets are absolute (to the world) otherwise they are relative (to the vehicle).
  
 
{{Incomplete}}
 
{{Incomplete}}

Latest revision as of 14:20, 20 November 2011

ATTACH_CAR_TO_CAR
Number of parameters: 9
Parameter #TypeDescription
1.integerVehicle Child
2.integerVehicle Parent
3.boolAbsolute offsets
4.floatX Offset
5.floatY Offset
6.floatZ Offset
7.floatX Rotation
8.floatY Rotation
9.floatZ Rotation
Return value:
TypeDescription
None

Attaches two Vehicles together. Rotation are in radians. If the 'Absolute offsets' boolean is true the offsets are absolute (to the world) otherwise they are relative (to the vehicle).

This section is incomplete. You can help by fixing and expanding it.