ropeSetCargoMass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ " to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 22: Line 22:
|x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code>
|x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code>


| [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]]
|seealso= [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]]
}}
}}


[[Category:Scripting Commands]]
[[Category:Scripting Commands]]
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 00:01, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Ropes and Sling Loading

Syntax

Syntax:
Syntax needed
Parameters:
rope: Object - rope object
cargo: Object - cargo object
mass: Number - override cargo mass, if mass < 1 then original mass is used
Return Value:
Return value needed

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