Arma 3 Scripting

createCenter

  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Instanciate a Side center. A Side center is required to be able to create groups of this side.
Centers can only be created for east, west, resistance, civilian and sideLogic sides.
Created sides must have their "side-friendship" defined with setFriend.

Note

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.

Note

Arma 3: In Arma 3, centers for all sides are all created by the engine.

Syntax

createCenter side

Parameters:

Returns: Side

Examples

Example 1

createCenter east;

See also

deleteCenter · createUnit · createGroup · createVehicle · side · Side