createCenter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset version to 1.00)
m (code tags used for example)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>center = createCenter [[east]]</pre> |= Example 1
|x1= <code>center <nowiki>=</nowiki> '''createCenter''' [[east]]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:52, 15 December 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
center = createCenter east

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section