{"name":"ropesAttachedTo","title":"ropesAttachedTo","type":"command","url":"https://community.bistudio.com/wiki/ropesAttachedTo","revid":352477,"updated":"2024-02-11T23:39:44Z","groups":["Ropes and Sling Loading"],"status":"ok","games":{"arma3":"2.10"},"since":"arma3 2.10","arma3_since":"2.10","description":"Returns the owners of all ropes attached to the cargo - the transports to which other entities are attached with ropes.","syntaxes":[{"syntax":"ropesAttachedTo cargo","params":[{"name":"cargo","type":"Object","description":"entity attached to the ends of the ropes","type_expr":"Object"}],"returns":{"type":"Array of Objects","type_expr":"Array<Object>","description":"which are transports from which the ropes originate, the ropes owners","text":"Array of Objects which are transports from which the ropes originate, the ropes owners"},"form":"unary","right":{"text":"cargo"}}],"examples":[{"code":["r1 = ropeCreate [car1, [0,0,0], car3, [0,0,0], 10];\nr2 = ropeCreate [car2, [0,0,0], car3, [0,0,0], 10];\nropesAttachedTo car3; // [car1,car2]"]}],"see_also":["ropeAttachedTo","ropes","canSlingLoad","enableRopeAttach","getSlingLoad","ropeAttachedObjects","ropeAttachTo","ropeDestroy","ropeLength","ropeUnwound","ropeCreate","ropeDetach","ropeAttachEnabled","ropeCut","ropeEndPosition","ropeUnwind","setSlingLoad","slingLoadAssistantShown"]}