ropeSegments: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3dev |version1= 2.03" to " |game1= arma3 |version1= 2.04")
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|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
Line 15: Line 14:
|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 17: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