{"name":"ropes","operator":null,"title":"ropes","type":"command","url":"https://community.bistudio.com/wiki/ropes","revid":340878,"updated":"2023-05-13T21:30:53Z","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 all ropes attached to a ropes owner transport vehicle.","syntaxes":[{"syntax":"ropes ropesOwner","since":null,"effect":null,"exec":null,"params":[{"name":"ropesOwner","type":"Object","optional":false,"default":null,"description":"a transport from which the ropes originate","types":["Object"],"since":null,"text":"ropesOwner: Object - a transport from which the ropes originate"}],"returns":{"type":"Array of Objects","types":["Array","Object"],"description":"array of the actual rope objects","text":"Array of Objects - array of the actual rope objects"},"form":"unary","operator":null,"left":null,"right":{"text":"ropesOwner","types":["Object"]}}],"examples":[{"text":"```sqf\nhint str (ropes vehicle player);\n```","code":["hint str (ropes vehicle player);"]},{"text":"```sqf\n_rope1 = (ropes heli1) select 0;\n```","code":["_rope1 = (ropes heli1) select 0;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["canSlingLoad","enableRopeAttach","getSlingLoad","ropeAttachedObjects","ropeAttachTo","ropeDestroy","ropeLength","ropeUnwound","ropeAttachedTo","ropeCreate","ropeDetach","ropeAttachEnabled","ropeCut","ropeEndPosition","ropeUnwind","setSlingLoad","slingLoadAssistantShown"],"notes":[{"user":"Waffle SS.","date":"2014-10-13T02:05:00Z","text":"The ropes command seems to return each individual sling load rope.\nropes will return an empty Array if the sling load ropes are not deployed.\nRopes as of A3 1.33 have a cfgVehicles classname of \"Rope\"."}],"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"]}