{"name":"createCenter","title":"createCenter","type":"command","url":"https://community.bistudio.com/wiki/createCenter","revid":353367,"updated":"2024-03-15T17:11:57Z","groups":["Sides"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","locality":{"effect":"global"},"description":"Instanciate a Side center. A Side center is required to be able to create groups of this side.\nCenters can only be created for east, west, resistance, civilian and sideLogic sides.\nCreated sides must have their \"side-friendship\" defined with setFriend.\n\n> [!NOTE]\n> In Armed Assault and Arma 2, only Mission.sqm's units side centers are created; e.g if no resistance unit has been placed in the editor you must use createCenter before being able to create a resistance group.\n\n> [!NOTE]\n> **Arma 3:** In Arma 3, centers for all sides are all created by the engine.","syntaxes":[{"syntax":"createCenter side","params":[{"name":"side","type":"Side","type_expr":"Side"}],"returns":{"type":"Side","type_expr":"Side"},"form":"unary","right":{"text":"side"}}],"examples":[{"code":["createCenter east;"]}],"see_also":["deleteCenter","createUnit","createGroup","createVehicle","side","Side"]}