ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:Take[ _]On[ _]Helicopters:[ _]New[ _]Scripting[ _]Commands[ _]List(\|[^]]+)?\]\]" to "") |
||
Line 29: | Line 29: | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands]] | ||
{{GameCategory|tkoh|Scripting Commands}} | {{GameCategory|tkoh|Scripting Commands}} | ||
Revision as of 11:32, 18 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