ropeSetCargoMass

From Bohemia Interactive Community
Revision as of 23:05, 22 March 2014 by Fred Gandt (talk | contribs) (Added to "see also")
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
Set the simulated mass of an object attached to a rope.
Groups:
Uncategorised

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:
ropeCreate, ropeDestroy, ropeDetach, getMass, getCenterOfMass

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