Data/Tactical AI Data

From SC2Mapster Wiki
Jump to: navigation, search

Tactical AI Data

Description

Basic AI for all units. Something like, place a bomb then auto retreat. Auto EMP if some special unit comes, with shield or energy. Note that either Campaign AI or Melee AI must be initialized for the player in the Triggers in order for these to work. Also, if you use an Issue Order action on a unit from a trigger, it will be marked as Script Controlled and these will not work.

Category

CTacticalOrder

Ability

  • The Ability, the unit should use

Ability Command

  • Most ablity have sub ability, this is the index of it.
  • For example: the ability scv-build can build more then 1 kind of building.

Marker +

  • All Tactical Ai Data have the same marker, i don't know what it means

Retreat

  • If enabled, unit will auto retreat after the ability is used.

Target Find

  • If the ability need a target. U can use this to choose a target. Auto emp should always casted on caster or units with shields. See Target Finds

Validator

  • Validate conditions, like unborrow only if unit is borrowed

CTacticalSet

Array

  • list of CTacticalOrder, which will be combined