{"name":"enableRopeAttach","operator":null,"title":"enableRopeAttach","type":"command","url":"https://community.bistudio.com/wiki/enableRopeAttach","revid":310266,"updated":"2022-05-05T13:11:17Z","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":"local","effect":"global","server_exec":false},"exec":null,"description":"Enables or disables the ability to be attached to a rope end for the given entity.","syntaxes":[{"syntax":"entity enableRopeAttach enable","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Object","optional":false,"default":null,"description":"given entity","types":["Object"],"since":null,"text":"entity: Object - given entity"},{"name":"enable","type":"Boolean","optional":false,"default":null,"description":"false to disable rope attachment","types":["Boolean"],"since":null,"text":"enable: Boolean - false to disable rope attachment"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"entity","types":["Object"]},"right":{"text":"enable","types":["Boolean"]}}],"examples":[{"text":"```sqf\nvehicle player enableRopeAttach false;\n```","code":["vehicle player enableRopeAttach false;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ropes","canSlingLoad","getSlingLoad","ropeAttachedObjects","ropeAttachTo","ropeDestroy","ropeLength","ropeUnwound","ropeAttachedTo","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","Scripting Commands: Global Effect"]}