Unit Type

The Unit object type is created by AiTemplatePlugIn.Create.

Used in a total of 105 .con files: Objects.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, Bf1942/Levels

Example: (from objects/Vehicles/Air/Mustang/Ai/Objects.con)
   rem *** Plugins ***
   AiTemplatePlugIn.Create Unit MustangUnit
   AiTemplatePlugIn.EquipmentType 1
   AiTemplatePlugIn.SetStrategicStrength 0 3
   AiTemplatePlugIn.SetStrategicStrength 1 3

Properties used with this type of object:
   AiTemplatePlugIn.Create
   AiTemplatePlugIn.EquipmentType
   AiTemplatePlugIn.SetAlwaysTargetSoldier
   AiTemplatePlugIn.SetBattleStrength
   AiTemplatePlugIn.SetHasExposedSoldier
   AiTemplatePlugIn.SetSelectKey
   AiTemplatePlugIn.SetStrategicStrength
   AiTemplatePlugIn.SetUseNoPathfindingToGetToObject


Go to the AiTemplatePlugIn type list page, AiTemplatePlugIn page, All Types list, Class list, CON file list, or Main scripting page.