ropeSetCargoMass: Difference between revisions
Jump to navigation
Jump to search
m (format) |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | |||
{{Command|Comments= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| TKOH | | | TKOH |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set the simulated mass of an object attached to a rope. |= | | Set the simulated mass of an object attached to a rope. | ||
{{Feature Arma3|This command does not apply to {{arma3}}. Use [[setMass]] instead.}}|Description= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ropeSetCargoMass]] [rope, cargo, mass];|= | | [[ropeSetCargoMass]] [rope, cargo, mass];|Syntax= | ||
|p1= rope: [[Object]] - rope object |Parameter 1= | |||
|p2= cargo: [[Object]] - cargo object |Parameter 2= | |||
|p3= mass: [[Number]] - override cargo mass, if mass < 1 then original mass is used |Parameter 3= | |||
|p3= mass: [[Number]] - override cargo mass, if mass < 1 then original mass is used | | |||
| [[Number]] - object mass | | | [[Number]] - object mass |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> | | |x1= <code>[[ropeSetCargoMass]] [myRope, myCargo, 1138];</code> |Example 1= | ||
| [[ropeCreate]], [[ropeDestroy]], [[ropeDetach]], [[getMass]], [[setMass]], [[getCenterOfMass]] |See also= | |||
}} | }} | ||
Line 35: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands]] | |||
[[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}}}}]] | [[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Ropes and Sling Loading]] |
Revision as of 00:02, 30 March 2019
Description
- Description:
- Set the simulated mass of an object attached to a rope. Template:Feature Arma3
- 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
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
Categories:
- Scripting Commands
- Introduced with Take On Helicopters version 1.00
- Take On Helicopters: New Scripting Commands
- Take On Helicopters: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Take On Helicopters
- Take On Helicopters: New Scripting Commands List
- Command Group: Ropes and Sling Loading