ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 2: | Line 2: | ||
{{Command|Comments= | {{Command|Comments= | ||
| TKOH |Game name= | | TKOH |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Ropes and Sling Loading |GROUP1= | |gr1= Ropes and Sling Loading |GROUP1= | ||
| 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= | ||
| [[ropeSetCargoMass]] [rope, cargo, mass];|Syntax= | | [[ropeSetCargoMass]] [rope, cargo, mass];|Syntax= | ||
Line 24: | Line 21: | ||
| [[Number]] - object mass |Return value= | | [[Number]] - object mass |Return value= | ||
|x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> |Example 1= | |x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> |Example 1= |
Revision as of 02:12, 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