{"name":"ropeSegments","operator":null,"title":"ropeSegments","type":"command","url":"https://community.bistudio.com/wiki/ropeSegments","revid":364777,"updated":"2024-06-10T12:28:27Z","groups":["Ropes and Sling Loading"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.04"}],"since":{"game":"arma3","name":"Arma 3","version":"2.04"},"arma3_since":"2.04","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns provided rope's segments.\n\nArma 3 v2.12 use objectParent to return the rope parent from a rope segment.","syntaxes":[{"syntax":"ropeSegments rope","since":null,"effect":null,"exec":null,"params":[{"name":"rope","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"rope: Object"}],"returns":{"type":"Array of Objects","types":["Array","Object"],"description":"the rope's segments","text":"Array of Objects - the rope's segments"},"form":"unary","operator":null,"left":null,"right":{"text":"rope","types":["Object"]}}],"examples":[{"text":"```sqf\nprivate _segments = ropeSegments _myRope;\n```","code":["private _segments = ropeSegments _myRope;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ropeCreate","ropeLength","ropeCut","ropeEndPosition"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Ropes and Sling Loading","Introduced with Arma 3 version 2.04","Scripting Commands"]}