Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.09

Description

Description:Creates a new engagement between the specified units. The command does not cause any actual action between the specified units (if they are not aware or firing at each other yet, this command does not cause them to do any of these, either).

Syntax

Syntax:createEngagement units
Parameters:
  • units: Array - Units to be involved in a new engagement.
Return Value:Number - ID of newly created engagement.

Examples

Examples:
_ID = createEngagement [soldierEast1,soldierWest1]

Additional Information

See also: getEngagements, getEngagementStat
Multiplayer:This command is meant to be used only on the server. It has no effect on clients.
Problems: 

Notes