{"name":"deleteCenter","title":"deleteCenter","type":"command","url":"https://community.bistudio.com/wiki/deleteCenter","revid":310241,"updated":"2022-05-05T13:11:01Z","groups":["Sides"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","locality":{"effect":"global"},"description":"In a nutshell, this command removes gaming Side (see createCenter). If a side has >0 Groups it cannot be deleted. Center can only be created for: east, west, resistance, civilian and sideLogic, therefore only centers from the mentioned sides can be deleted.\n\n**Old description:** Destroys the AI center of the given side.","syntaxes":[{"syntax":"deleteCenter side","params":[{"name":"side","type":"Side","type_expr":"Side"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"side"}}],"examples":[{"code":["deleteCenter east;"]}],"see_also":["createCenter"]}