{"name":"detach","title":"detach","type":"command","url":"https://community.bistudio.com/wiki/detach","revid":369227,"updated":"2024-09-03T10:34:55Z","groups":["Object Manipulation"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"global"},"description":"Detaches previously attached with attachTo object.","syntaxes":[{"syntax":"detach object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["obj1 attachTo [player];\ndetach obj1;"]}],"multiplayer":"Only has to be executed on one client.","see_also":["attachedObjects","attachedTo","attachTo"]}