Difference between revisions of "ATTACH OBJECT TO PED"
Jump to navigation
Jump to search
(New page: '''ATTACH_OBJECT_TO_PED''' [OBJECT, CHAR, UNKNOWN1, X, Y, Z, UNKNOWN2] OBJECT represents object handle, of an attaching item. CHAR - handle of character object, where item is being attac...) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Native | |
− | + | |np=10 | |
− | + | |p1t=handle | |
− | + | |p1d=object handle | |
− | + | |p2t=handle | |
− | + | |p2d=ped handle | |
− | + | |p3t=integer | |
− | + | |p3d=[[Ped Bones|Bone ID]] | |
− | X | + | |p4t=float |
− | + | |p4d=X Offset | |
− | Y | + | |p5t=float |
− | + | |p5d=Y Offset | |
− | Z | + | |p6t=float |
− | + | |p6d=Z Offset | |
− | + | |p7t=float | |
− | + | |p7d=RotoOffset X | |
− | + | |p8t=float | |
− | + | |p8d=RotoOffset Y | |
− | + | |p9t=float | |
+ | |p9d=RotoOffset Z | ||
+ | |p10t=integer | ||
+ | |p10d=Unknown (Always 0?) | ||
+ | }} | ||
+ | This function attaches an object to the ped. | ||
+ | {{stub}} |
Latest revision as of 19:42, 19 January 2013
Number of parameters: 10 | ||
---|---|---|
Parameter # | Type | Description |
1. | handle | object handle |
2. | handle | ped handle |
3. | integer | Bone ID |
4. | float | X Offset |
5. | float | Y Offset |
6. | float | Z Offset |
7. | float | RotoOffset X |
8. | float | RotoOffset Y |
9. | float | RotoOffset Z |
10. | integer | Unknown (Always 0?) |
Return value: | ||
Type | Description | |
None |
This function attaches an object to the ped.