ropeSetCargoMass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Feature Arma3" to "Feature arma3")
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|")
Line 12: Line 12:


| Set the simulated mass of an object attached to a rope.
| Set the simulated mass of an object attached to a rope.
{{Feature arma3|This command does not apply to {{arma3}}. Use [[setMass]] instead.}}|Description=
{{Feature|arma3|This command does not apply to {{arma3}}. Use [[setMass]] instead.}}|Description=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:36, 27 December 2020


Hover & click on the images for description

Description

Description:
Set the simulated mass of an object attached to a rope.
Arma 3
This command does not apply to Arma 3. Use setMass instead.
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeSetCargoMass [rope, cargo, mass];
Parameters:
rope: Object - rope object
cargo: Object - cargo object
mass: Number - override cargo mass, if mass < 1 then original mass is used
Return Value:
Number - object mass

Examples

Example 1:
ropeSetCargoMass [myRope, myCargo, 1138];

Additional Information

See also:
ropeCreateropeDestroyropeDetachgetMasssetMassgetCenterOfMass

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

Notes

Bottom Section