ropeCut: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "<br><br> {{Feature" to "{{Feature")
Line 7: Line 7:
|gr1= Ropes and Sling Loading
|gr1= Ropes and Sling Loading


| 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.{{Feature | 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 20:35, 9 June 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:
ropescanSlingLoadenableRopeAttachgetSlingLoadropeAttachedObjectsropeAttachToropeDestroyropeLengthropeUnwoundropeAttachedToropeCreateropeDetachropeAttachEnabledropeEndPositionropeUnwindsetSlingLoadslingLoadAssistantShown

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