ropeCut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 8: Line 8:


| Cuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached. The rope remains attached to its parent transport and if the length is set to 0 or even negative does not get destroyed. Use [[ropeDestroy]] to remove it completely.<br><br>
| Cuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached. The rope remains attached to its parent transport and if the length is set to 0 or even negative does not get destroyed. Use [[ropeDestroy]] to remove it completely.<br><br>
{{Informative | The rope could only be shortened. If the cut length is greater than current rope length, nothing happens}}
{{Feature | Informative | The rope could only be shortened. If the cut length is greater than current rope length, nothing happens}}


| [[ropeCut]] [rope, length]
| [[ropeCut]] [rope, length]

Revision as of 01:10, 7 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 obtained from ropeCreate
length: Number - length of the rope in meters after the cut
Return Value:
Return value needed

Examples

Example 1:
ropeCut [ropes heli1 select 0, 5];

Additional Information

See also:
See also needed

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