Difference between revisions of "APPLY FORCE TO PED"
Jump to navigation
Jump to search
(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 29: | Line 29: | ||
Applies force to an ped. | Applies force to an ped. | ||
− | + | P6, P7 and P8 does not seem to work in animated or ragdolled state. | |
P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false). | 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 22:36, 18 December 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. P6, P7 and P8 does not seem to work in animated or ragdolled state. 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.