createCenter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Basic information given.)
Line 21: Line 21:
'''Description:'''
'''Description:'''


Creates a new AI center for the given side.  
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:'''
'''Example:'''


center = '''createCenter''' [[east]]
center = '''createCenter''' [[east]]

Revision as of 20:28, 18 July 2006


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