createCenter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (note formating)
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
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. [[User:UNN|UNN]] 17:15, 22 June 2007 (CEST)
<dd class="notedate">Posted on 17:15, 22 June 2007 (CEST)
<dt class="note">'''[[User:UNN|UNN]]'''<dd class="note">
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.  
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 10:39, 25 June 2014

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

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

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

Examples

Example 1:
_SideHQ = createCenter east

Additional Information

See also:
createUnitcreateUnit arraycreateGroupcreateVehiclecreateVehicle arraySide

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

Posted on 17:15, 22 June 2007 (CEST)
UNN
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.

Bottom Section