ropeSetCargoMass

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Take On Helicopters version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

Description:
Set the simulated mass of an object attached to a rope.

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

Multiplayer:
-
See also:
ropeCreateropeDestroyropeDetachgetMassgetCenterOfMass

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section