{"name":"ropes","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","games":{"arma3":"1.34"},"since":"arma3 1.34","arma3_since":"1.34","description":"Returns all ropes attached to a ropes owner transport vehicle.","syntaxes":[{"syntax":"ropes ropesOwner","params":[{"name":"ropesOwner","type":"Object","description":"a transport from which the ropes originate","type_expr":"Object"}],"returns":{"type":"Array of Objects","type_expr":"Array<Object>","description":"array of the actual rope objects"},"form":"unary","right":{"text":"ropesOwner"}}],"examples":[{"code":["hint str (ropes vehicle player);"]},{"code":["_rope1 = (ropes heli1) select 0;"]}],"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\"."}]}