{"name":"ropeEndPosition","operator":null,"title":"ropeEndPosition","type":"command","url":"https://community.bistudio.com/wiki/ropeEndPosition","revid":377646,"updated":"2026-01-02T09:01:47Z","groups":["Ropes and Sling Loading"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.34"}],"since":{"game":"arma3","name":"Arma 3","version":"1.34"},"arma3_since":"1.34","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns start and end positions for the given rope. If command fails, empty array `[]` is returned.","syntaxes":[{"syntax":"ropeEndPosition rope","since":null,"effect":null,"exec":null,"params":[{"name":"rope","type":"Object","optional":false,"default":null,"description":"rope object","types":["Object"],"since":null,"text":"rope: Object - rope object"}],"returns":{"type":"Array with [startPos, endPos]","types":["Array"],"description":"startPos: PositionAGL - endPos: PositionAGL","text":"Array with [startPos, endPos]\n- startPos: PositionAGL\n- endPos: PositionAGL"},"form":"unary","operator":null,"left":null,"right":{"text":"rope","types":["Object"]}}],"examples":[{"text":"```sqf\n_ends = ropeEndPosition (ropes heli1 select 0);\n_start = _ends select 0;\n_end = _ends select 1;\n```","code":["_ends = ropeEndPosition (ropes heli1 select 0);\n_start = _ends select 0;\n_end = _ends select 1;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ropes","canSlingLoad","enableRopeAttach","getSlingLoad","ropeAttachedObjects","ropeAttachTo","ropeDestroy","ropeLength","ropeUnwound","ropeAttachedTo","ropeCreate","ropeDetach","ropeAttachEnabled","ropeCut","ropeUnwind","setSlingLoad","slingLoadAssistantShown"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Ropes and Sling Loading","Introduced with Arma 3 version 1.34","Scripting Commands"]}