ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) |
||
Line 21: | Line 21: | ||
|x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> | |x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> | ||
|seealso= [[ropeCreate]] | |seealso= [[ropeCreate]] [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]] | ||
}} | }} |
Revision as of 17:33, 20 January 2022
Description
- Description:
- Set the simulated mass of an object attached to a rope.
- 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
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