Difference between revisions of "ATTACH CAR TO CAR"

From GTAMods Wiki
Jump to navigation Jump to search
m
(corection)
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 two 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 'Relative offsets' boolean is true the offsets are absolute (to the world) otherwise they are relative (to the vehicle).
  
 
{{Incomplete}}
 
{{Incomplete}}

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 'Relative 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.