ropeSegments: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Fix)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|version1= 2.04
|version1= 2.04


|descr= Returns provided rope's segments
|descr= Returns provided rope's segments.<br>
{{GVI|arma3|2.12|size= 0.75}} use [[objectParent]] to return the rope parent from a rope segment.


|gr1= Ropes and Sling Loading
|gr1= Ropes and Sling Loading
Line 14: Line 15:
|r1= [[Array]] of [[Object]]s - the rope's segments
|r1= [[Array]] of [[Object]]s - the rope's segments


|x1= <code>[[private]] _segments = [[ropeSegments]] _myRope;</code>
|x1= <sqf>private _segments = ropeSegments _myRope;</sqf>


|seealso= [[ropeCreate]] [[ropeLength]] [[ropeCut]] [[ropeEndPosition]]
|seealso= [[ropeCreate]] [[ropeLength]] [[ropeCut]] [[ropeEndPosition]]
}}
}}

Latest revision as of 14:28, 10 June 2024

Hover & click on the images for description

Description

Description:
Returns provided rope's segments.
Arma 3 logo black.png2.12 use objectParent to return the rope parent from a rope segment.
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