createCenter: Difference between revisions
Jump to navigation
Jump to search
m (Added SEEALSO) |
m (Fixed links.) |
||
Line 9: | Line 9: | ||
| Creates a new AI HQ for the given side. An 'HQ ' 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. | | Creates a new AI HQ for the given side. An 'HQ ' 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. | ||
For the available sides see [[ | For the available sides see [[Side]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[createUnit]], [[createUnit array]], [[createGroup]], [[createVehicle]], [[createVehicle array]], [[ | | [[createUnit]], [[createUnit array]], [[createGroup]], [[createVehicle]], [[createVehicle array]], [[Side]] |= See also | ||
}} | }} |
Revision as of 10:20, 6 March 2011
Description
- Description:
- Creates a new AI HQ for the given side. An 'HQ ' 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. For the available sides see Side.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_SideHQ = createCenter east
Additional Information
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
-
You need to set the new sides friendly status using the setFriend command, once you have created your Center. Otherwise the newly created AI will not engage you, if you're on the opposing side. UNN 17:15, 22 June 2007 (CEST)