Difference between revisions of "ATTACH CAR TO CAR"
Jump to navigation
Jump to search
(New page: {{Native |np=9 |p1t=integer |p1d=Vehicle Id 1 |p2t=integer |p2d=Vehicle Id 2 |p3t=bool |p3d=Unknown |p4t=float |p4d=X Offset |p5t=float |p5d=Y Offset |p6t=float |p6d=Z Offset |p7t=float |p...) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|np=9 | |np=9 | ||
|p1t=integer | |p1t=integer | ||
− | |p1d=Vehicle | + | |p1d=Vehicle Child |
|p2t=integer | |p2t=integer | ||
− | |p2d=Vehicle | + | |p2d=Vehicle Parent |
|p3t=bool | |p3t=bool | ||
− | |p3d= | + | |p3d=Absolute offsets |
|p4t=float | |p4t=float | ||
|p4d=X Offset | |p4d=X Offset | ||
Line 14: | Line 14: | ||
|p6d=Z Offset | |p6d=Z Offset | ||
|p7t=float | |p7t=float | ||
− | |p7d=X | + | |p7d=X Rotation |
|p8t=float | |p8t=float | ||
− | |p8d=Y | + | |p8d=Y Rotation |
|p9t=float | |p9t=float | ||
− | |p9d=Z | + | |p9d=Z Rotation |
|r=0 | |r=0 | ||
}} | }} | ||
− | Attaches | + | 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}} |
Latest revision as of 14:20, 20 November 2011
Number of parameters: 9 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | Vehicle Child |
2. | integer | Vehicle Parent |
3. | bool | Absolute offsets |
4. | float | X Offset |
5. | float | Y Offset |
6. | float | Z Offset |
7. | float | X Rotation |
8. | float | Y Rotation |
9. | float | Z Rotation |
Return value: | ||
Type | Description | |
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.