CommandUnit

A command that allows you to give an order to a specific unit or group.

Options: detector destination point assignments often use targetPoint because it is empty, but other triggers or decoration objects can also be used. If there are several points in the list and the order implies only movement to the point, then all units will come to the first point in the list.
 * units - a list of already existing units to which the order will be given
 * unitDetector - a field where you can insert a detector to give an order to all objects within the zone of this
 * targets - a list of targets (these can be any objects) that will act as endpoints: for example, the point where you need to go, or the enemy you want to attack. For
 * command - an order that will be given to all units from the list. All orders that a player can give to a unit are supported:
 * 1) GoPoint - go to the point
 * 2) AttackTarget - attack the target
 * 3) MineTarget - start collecting resources from the target
 * 4) BoardTransport - get into the transport
 * 5) UnboardTransport - leave the transport
 * 6) RepeatingAttackTarget - constantly attack the enemy (through for short periods of time, units will return back to the specified enemy, no matter what the player does)
 * 7) RepeatingGoPoint - constantly go to the point (repeating is similar to the previous order)