TCL group types - Arma-TCL-TypeX/TCL-TypeX-docs GitHub Wiki

Initializing group behavior

How to initialize a special behavior for an A.I. group

Some A.I. behaviors are customizable. Possible values are TCL_Hold, TCL_Defend, TCL_Custom, TCL_Disabled, TCL_Idle, TCL_Freeze, TCL_Default and TCL_Enhanced. See below for an explanation.

A.I. Group Composition Init Line

In the A.I. group(s) composition init line write ​this setVariable ["TCL_Hold", True];​ (for example) to initialize the A.I. group as Hold A.I. Group.

Note:​ This way also can be used to initialize spawning A.I. unit(s) and A.I. group(s) with any group types.

A.I. Unit Init Line

Choose any A.I. unit of a A.I. group and write ​group this setVariable ["TCL_Hold", True]; (for example) in the init line of the A.I. unit to initialize the A.I. group of the A.I. unit as Hold A.I. Group.

Note:​ This way also can be used to initialize spawning A.I. unit(s) and A.I. group(s) with any group types.

Trigger Synchronzation

  • Create a trigger in Eden Editor.
  • In the text line of the created trigger write TCL_Hold​ (for example).
  • Synchronize any A.I. unit of a A.I. group with the trigger to initialize the A.I. group of the synchronized A.I. unit as Hold A.I. Group.

Note: You can create as much triggers as you like or synchronize multiple A.I. unit(s) of different A.I. group(s) with the same trigger.

Trigger Area Size

  • Create a trigger in Eden Editor.
  • In the text line of the created trigger write TCL_Hold​ (for example).
  • Set the trigger area size to what area you like to cover.
  • Place the trigger over the given A.I. group(s) to initialize A.I. group(s) within the trigger area as Hold A.I.Group(s).

A.I. Group Type Priorities

To prevent A.I. group(s) from accidentally initializing in multiple A.I. Group Types, the A.I. group(s) initialize use a priority system.

  • Priority 1:​ setVariable in composition init attribute or unit init attribute
  • Priority 2:​ Synchronized Triggers
  • Priority 3:​ Trigger Area

T.C.L TypeX A.I. group types

Tactical Combat Link allows you to set up specific A.I. Group Types which make A.I. group(s) behave in different ways.

Combat A.I. Groups

Combat A.I. Groups are the default Tactical Combat Link A.I. group(s) which will be used by default and which use the full range of Tactical Combat Link features. They can request reinforcement(s) and can be requested as reinforcement. Also Combat A.I. Groups may leave their position after detecting gunfire or explosions.

As it is the default A.I. default behavior, you have nothing to do to initialize the A.I. group.

Hold A.I. Groups:​ ( TCL_Hold )

Hold A.I. Groups are used to protect or secure a specific area or object. They can NOT be requested as reinforcement but can request other NONE Hold A.I. Groups as reinforcement(s).

Also Hold A.I. Groups will NOT leave their position even after detecting gunfire or explosions.

Hold A.I. Groups are NOT allowed to leave their position.

By default Hold A.I. Groups movement range will be limited to 50 x 50 meters.

Defend A.I. Groups:​ ( TCL_Defend )

Defend A.I. Groups follow exactly the same rules as Hold A.I. Groups with one exception ! Defend A.I. Groupsare ALLOWED to leave their position after detecting enemy(s).

Custom A.I. Groups:​ ( TCL_Custom )

Custom A.I. Groups are used to initialize some specific A.I. group(s) only. By default Custom A.I. Groups follow exactly the same rules as Combat A.I. Groups. If Custom A.I. Groups are used Hold, Defend and Location A.I. Groups will be initialized automatically.

Location A.I. Groups:

Location A.I. Groups can be created by synchronizing A.I. groups with each other.You only have to synchronize 1 unit of a A.I. group with another unit of another A.I. group to create Location A.I.Groups.

Location A.I. Groups follow the same rules as Combat A.I. Groups but they can only request and be requestedby A.I. groups which was synchronized with them.

Special A.I. Group Types

The special A.I. group types of Tactical Combat Link allows you to set up specific A.I. Group Types which disable specificA.I. group(s) behaviours.

Those Special A.I. Group Types has been introduced to reduce and stop Tactical Combat Link from breaking missionsby moving or requesting reinforcement(s) A.I. group(s) which are supposed to not use any of those features.

I.D.L.E. A.I. Groups:​ ( TCL_IDLE )

I.D.L.E. A.I. Groups are used to exclude specific A.I. group(s) from A.I. vs A.I. combat.

Freeze A.I. Groups:​ ( TCL_Freeze )

Freeze A.I. Groups will use all Tactical Combat Link combat behaviours but will not move to any position. Also Freeze A.I. Groups will not advance after detecting gunfire or explosions. They are totally excluded from all Tactical Combat Link movement systems.

Default A.I. Groups:​ ( TCL_Default )

Default A.I. Groups are not able to request reinforcement(s) and can not be requested as reinforcement(s).They are totally excluded from the Tactical Combat Link reinforcement requests system.

Enhanced A.I. Groups:​ ( TCL_Enhanced )

Enhanced A.I. Groups will be excluded from all Tactical Combat Link reinforcement request and movement systems but will use all A.I. combat behaviour features e.g. “Take Cover” “Suppressed Fire” and “StaticWeapon”.