ropeSegments: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Killzone Kid (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
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 | ||
Line 14: | Line 14: | ||
|r1= [[Array]] of [[Object]]s - the rope's segments | |r1= [[Array]] of [[Object]]s - the rope's segments | ||
|x1= < | |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
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:
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