ropeSegments: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
|version1= 2.04


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


|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