Usage:
AiTemplatePlugIn.SetBattleStrength
string number
Argument values:
argument 1: |
Air, HeavyArmour, Infantry, LightArmour, NavalArmour, Submarine
|
argument 2: |
range is 0.0 to 4.0; most commonly 0.0, 1.0
|
Used in object types (and how often in each type): Unit (1%)
Used in a total of 2 .con files: Objects.con
Parent directory of these .con files: objects/Soldiers
Example: (from objects/Soldiers/Common/AI/Objects.con)
rem *** Plugins ***
AiTemplatePlugIn.Create Unit SoldierUnit
AiTemplatePlugIn.EquipmentType 3
AiTemplatePlugIn.SetBattleStrength Infantry 4.0
AiTemplatePlugIn.SetBattleStrength LightArmour 2.0
AiTemplatePlugIn.SetBattleStrength HeavyArmour 1.0
AiTemplatePlugIn.SetBattleStrength NavalArmour 0.0
AiTemplatePlugIn.SetBattleStrength Submarine 0.0
AiTemplatePlugIn.SetBattleStrength Air 1.0
AiTemplatePlugIn.SetStrategicStrength 0 1
AiTemplatePlugIn.SetStrategicStrength 1 1
Go to the AiTemplatePlugIn properties
list page, AiTemplatePlugIn page,
All Properties list,
or Main scripting page.