createCenter

From Bohemia Interactive Community
Revision as of 21:28, 18 July 2006 by Suma (talk | contribs) (Basic information given.)
Jump to navigation Jump to search


createCenter side


Operand types:

side: Side

Type of returned value:

Side

Compatibility:

Version 1.86 required.

Description:

Creates a new AI center for the given side. A 'center' is something each side needs to have to be able to communicate. By default, all centers for units which are present in the mission are created before the mission is started. This command can be used to initialize a side which has no units present in the Mission.sqm, so that you can spawn groups and units for it.

Example:

center = createCenter east