Difference between revisions of "APPLY FORCE TO PED"
Jump to navigation
Jump to search
(New page: {{Native |np=12 |p1t=integer |p1d=Ped Id |p2t=bool |p2d=Unknown |p3t=float |p3d=X Angle |p4t=float |p4d=Y Angle |p5t=float |p5d=Z Angle |p6t=float |p6d=X Force |p7t=float |p7d=Y Force |p8t...) |
(Added IsForceDirectionReletive. Swapped around force & angle parameters as i found they were listed backwards here, in my testing. Added suggested values to unknown parameters.) |
||
Line 4: | Line 4: | ||
|p1d=Ped Id | |p1d=Ped Id | ||
|p2t=bool | |p2t=bool | ||
− | |p2d=Unknown | + | |p2d=Unknown, suggested: true |
|p3t=float | |p3t=float | ||
− | |p3d=X | + | |p3d=X Force |
|p4t=float | |p4t=float | ||
− | |p4d=Y | + | |p4d=Y Force |
|p5t=float | |p5t=float | ||
− | |p5d=Z | + | |p5d=Z Force |
|p6t=float | |p6t=float | ||
− | |p6d=X | + | |p6d=X Angle |
|p7t=float | |p7t=float | ||
− | |p7d=Y | + | |p7d=Y Angle |
|p8t=float | |p8t=float | ||
− | |p8d=Z | + | |p8d=Z Angle |
|p9t=bool | |p9t=bool | ||
− | |p9d=Unknown | + | |p9d=Unknown, suggested: true |
|p10t=bool | |p10t=bool | ||
− | |p10d= | + | |p10d=IsForceDirectionReletive |
|p11t=bool | |p11t=bool | ||
− | |p11d=Unknown | + | |p11d=Unknown, suggested: true |
|p12t=bool | |p12t=bool | ||
− | |p12d=Unknown | + | |p12d=Unknown, suggested: true |
|r=0 | |r=0 | ||
}} | }} | ||
Applies force to an ped. | Applies force to an ped. | ||
+ | |||
+ | P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false). | ||
{{Incomplete}} | {{Incomplete}} |
Revision as of 10:38, 30 April 2009
Number of parameters: 12 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | Ped Id |
2. | bool | Unknown, suggested: true |
3. | float | X Force |
4. | float | Y Force |
5. | float | Z Force |
6. | float | X Angle |
7. | float | Y Angle |
8. | float | Z Angle |
9. | bool | Unknown, suggested: true |
10. | bool | IsForceDirectionReletive |
11. | bool | Unknown, suggested: true |
12. | bool | Unknown, suggested: true |
Return value: | ||
Type | Description | |
None |
Applies force to an ped.
P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false).
This section is incomplete. You can help by fixing and expanding it.