Difference between revisions of "APPLY FORCE TO PED"

From GTAMods Wiki
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.)
m
 
(One intermediate revision by the same user not shown)
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}}

Latest revision as of 22:37, 18 December 2009

APPLY_FORCE_TO_PED
Number of parameters: 12
Parameter #TypeDescription
1.integerPed Id
2.boolUnknown, suggested: true
3.floatX Force
4.floatY Force
5.floatZ Force
6.floatX Angle
7.floatY Angle
8.floatZ Angle
9.boolUnknown, suggested: true
10.boolIsForceDirectionReletive
11.boolUnknown, suggested: true
12.boolUnknown, suggested: true
Return value:
TypeDescription
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.