ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Added to "see also") |
m (format) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[ropeSetCargoMass]] [rope, cargo, mass];|= Syntax | ||
|p1= rope: [[Object]] - rope object |= Parameter 1 | |p1= rope: [[Object]] - rope object |= Parameter 1 | ||
Line 23: | Line 23: | ||
|x1 = <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> |= Example 1 | |x1 = <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> |= Example 1 | ||
| [[ropeCreate]], | | [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]],[[getMass]],[[getCenterOfMass]] |= See also | ||
[[ropeDestroy]], | |||
[[ropeDetach]], | |||
[[getMass]], | |||
[[getCenterOfMass]] |= See also | |||
}} | }} |
Revision as of 16:16, 10 September 2014
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
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