BIN fnc setRagdoll: Difference between revisions
Lou Montana (talk | contribs) m (1 revision imported: Contact)  | 
				Lou Montana (talk | contribs)   (Page filling)  | 
				||
| (32 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=function  | |||
|game1= arma3  | |||
|version1= 1.94  | |||
|   | |gr1= Object Manipulation  | ||
|  | |descr= Set the provided unit in ragdoll state (pushed by an invisible object).  | ||
{{Feature|informative|{{GVI|arma3|2.18}} [[addForce]] can be used in vanilla {{arma3}}.}}  | |||
|   | {{Feature|arma3contact}}  | ||
|   | |s1= [unit, force, selectionPos] call [[BIN_fnc_setRagdoll]]  | ||
|p1=   | |p1= unit: [[Object]] - the unit to ragdoll  | ||
|   | |p2= unit: [[Array]] format [[Vector3D]] - force applied to the colliding object  | ||
|  | |p3= unit: [[String]]  | ||
|   | |r1= [[String]] event ID from [[BIS_fnc_addStackedEventHandler]]  | ||
|x1= <sqf>[player, [0, 100, 0]] call BIN_fnc_setRagdoll;</sqf>  | |||
|seealso= [[setUnconscious]] [[addForce]]  | |||
}}  | }}  | ||
Latest revision as of 10:22, 14 October 2024
Description
- Description:
 - Set the provided unit in ragdoll state (pushed by an invisible object).
 - Execution:
 - call
 - Groups:
 - Object Manipulation
 
Syntax
- Syntax:
 - [unit, force, selectionPos] call BIN_fnc_setRagdoll
 - Parameters:
 - unit: Object - the unit to ragdoll
 - unit: Array format Vector3D - force applied to the colliding object
 - unit: String
 - Return Value:
 - String event ID from BIS_fnc_addStackedEventHandler
 
Examples
- Example 1:
 
Additional Information
- See also:
 - setUnconscious addForce
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note