{"name":"ropeAttachedTo","operator":null,"title":"ropeAttachedTo","type":"command","url":"https://community.bistudio.com/wiki/ropeAttachedTo","revid":350037,"updated":"2023-11-20T22:12:04Z","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 the owner of the first rope - the transport to which other entities are attached with ropes. This command is the opposite of ropeAttachedObjects. To return all owners see ropesAttachedTo.","syntaxes":[{"syntax":"ropeAttachedTo cargo","since":null,"effect":null,"exec":null,"params":[{"name":"cargo","type":"Object","optional":false,"default":null,"description":"entity attached to the end of the first rope","types":["Object"],"since":null,"text":"cargo: Object - entity attached to the end of the first rope"}],"returns":{"type":"Object","types":["Object"],"description":"a transport from which the first rope originates, the rope owner","text":"Object - a transport from which the first rope originates, the rope owner"},"form":"unary","operator":null,"left":null,"right":{"text":"cargo","types":["Object"]}}],"examples":[{"text":"```sqf\n_heli = ropeAttachedTo veh1;\n```","code":["_heli = ropeAttachedTo veh1;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ropesAttachedTo","ropes","canSlingLoad","enableRopeAttach","getSlingLoad","ropeAttachedObjects","ropeAttachTo","ropeDestroy","ropeLength","ropeUnwound","ropeCreate","ropeDetach","ropeAttachEnabled","ropeCut","ropeEndPosition","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"]}