ropeSetCargoMass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Unknown]] <nowiki>=</nowiki>  '''ropeSetCargoMass''' [ropeObject, cargoObject, mass]|= Syntax
| '''ropeSetCargoMass''' [rope, cargo, mass];|= Syntax


|p1= ropeObject: [[Rope]] |= Parameter 1
|p1= rope: [[Object]] - rope object |= Parameter 1
|p2= cargoObject: [[Object]] |= Parameter 2
|p2= cargo: [[Object]] - cargo object |= Parameter 2
|p3= mass: [[Number]] |= Parameter 3
|p3= mass: [[Number]] - override cargo mass, if mass < 1 then original mass is used |= Parameter 3


| [[Unknown]] |= Return value
| [[Number]] - object mass |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code>ropeSetCargoMass [myRope, myCargo, 1138];</code> |=


| [[ropeCreate]] |= See also
| [[ropeCreate]] |= See also
Line 34: Line 36:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Revision as of 12:24, 2 November 2011


Hover & click on the images for description

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

See also:
ropeCreate

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

Notes

Bottom Section