ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
||
Line 26: | Line 26: | ||
| [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]] |See also= | | [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]] |See also= | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 14:49, 17 January 2021
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