ropeSegments: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
No edit summary
Line 4: Line 4:
|version1= 2.04
|version1= 2.04


|descr= Returns provided rope's segments
|descr= Returns provided rope's segments. To return the rope parent from a rope segment, use [[objectParent]] (Since Arma 3 2.12)


|gr1= Ropes and Sling Loading
|gr1= Ropes and Sling Loading

Revision as of 16:37, 10 January 2023

Hover & click on the images for description

Description

Description:
Returns provided rope's segments. To return the rope parent from a rope segment, use objectParent (Since Arma 3 2.12)
Groups:
Ropes and Sling Loading

Syntax

Syntax:
ropeSegments rope
Parameters:
rope: Object
Return Value:
Array of Objects - the rope's segments

Examples

Example 1:
private _segments = ropeSegments _myRope;

Additional Information

See also:
ropeCreate ropeLength ropeCut ropeEndPosition

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