Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Creates a new AI HQ (Headquarters) for the given side. Each side needs an HQ, so that its members can communicate.

Note: In V3.x, centers for all sides are created at mission start, independently from whether the units of that side exist. Creating centers using this command is therefore not necessary anymore.

All centers for units which are present at mission start are created automatically. This command is only needed when adding units during mission runtime (using createUnit), whose side was not present at the start of the mission.

In addition, after creating a new center, "alliances" have to be defined using setFriend. Otherwise, opposing sides do not engage each other.

Syntax

Syntax:createCenter side
Parameters:
Return Value:Side-2

Examples

Examples:
_SideHQ = createCenter east

Additional Information

See also: createGroup, createUnit
Multiplayer: 
Problems: 

Notes