{"name":"attachObject","title":"attachObject","type":"command","url":"https://community.bistudio.com/wiki/attachObject","revid":318700,"updated":"2022-05-13T09:21:20Z","groups":["Object Manipulation","Locations"],"status":"ok","games":{"arma1":"1.08","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.08","arma3_since":"0.50","description":"Attaches a location to the specified object. To detach a location, attach it to objNull.","syntaxes":[{"syntax":"location attachObject object","params":[{"name":"location","type":"Location","type_expr":"Location"},{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"location"},"right":{"text":"object"}}],"examples":[{"code":["myLocation attachObject player;"]}],"see_also":["attachedObject","createLocation"]}