{"name":"createCenter","operator":null,"title":"createCenter","type":"command","url":"https://community.bistudio.com/wiki/createCenter","revid":353367,"updated":"2024-03-15T17:11:57Z","groups":["Sides"],"status":"ok","replaced_by":[],"games":[{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"global","server_exec":false},"exec":null,"description":"Instanciate a Side center. A Side center is required to be able to create groups of this side.\n\nCenters can only be created for east, west, resistance, civilian and sideLogic sides.\n\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","since":null,"effect":null,"exec":null,"params":[{"name":"side","type":"Side","optional":false,"default":null,"description":null,"types":["Side"],"since":null,"text":"side: Side"}],"returns":{"type":"Side","types":["Side"],"description":null,"text":"Side"},"form":"unary","operator":null,"left":null,"right":{"text":"side","types":["Side"]}}],"examples":[{"text":"```sqf\ncreateCenter east;\n```","code":["createCenter east;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["deleteCenter","createUnit","createGroup","createVehicle","side","Side"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Sides","Introduced with Operation Flashpoint: Elite version 1.00","Operation Flashpoint: Elite: New Scripting Commands","Operation Flashpoint: Elite: Scripting Commands","Scripting Commands","Scripting Commands: Global Effect","Take On Helicopters: Scripting Commands"]}