ropeSetCargoMass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 27: Line 27:
}}
}}


<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands]]
[[Category:Scripting Commands]]
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Revision as of 03:05, 18 January 2021


Hover & click on the images for description

Description

Description:
Set the simulated mass of an object attached to a rope.
Arma 3
This command does not apply to Arma 3. Use setMass instead.
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

See also:
ropeCreateropeDestroyropeDetachgetMasssetMassgetCenterOfMass

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