Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.00

Description

Description:

Creates a new AI HQ (Headquarters) for the given side.


An 'HQ ' is something each

Each side needs

, to be able to communicate

an HQ, so that its members can communicate.

Note: In V3.x, centers for all sides are created at mission start, independently from whether the units of that side exist. Creating centers using this command is therefore not necessary anymore.

All centers for units which are present at mission start are created automatically. This command is only needed when adding units during mission

run-time

runtime (

via

using createUnit), whose side

wasn't

was not present at the start of the

mission. (In V3.x centers for all sides are created at

mission

start, independently from whether units of that side exist. Creating centers via this command is therefore not necessary anymore

.

)

In addition, after creating a new center,

the

"alliances" have to be defined

via

using setFriend. Otherwise,

otherwise

opposing sides

will

do not engage each other.

Syntax

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

Examples

Examples:
_SideHQ = createCenter east

Additional Information

See also: createGroup, createUnit
Multiplayer: 
Problems: 

Notes