Usage:
AiStrategy.TimeLimit
number
Argument values:
argument 1: | range is 20 to 400; most commonly 200 |
This property is not a part of any defined type of object.
Used in a total of 25 .con files: Strategies.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Telemark/ai/Strategies.con)
if v_arg1 == host
rem **** Create Strategies ****
rem *** Telemark ***
rem ** German **
AiStrategy.CreateStrategy guard
AiStrategy.Aggression 0.3
AiStrategy.NumberOfAttacks 1
AiStrategy.NumberOfDefences 5
AiStrategy.SetPrerequisite guardPrereq
AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0
AiStrategy.SetStrategicObjectsModifier StrongPoint 2.0
AiStrategy.SetStrategicObjectsModifier East 0.25 Owned
AiStrategy.SetStrategicObjectsModifier Route 0.1 Owned
AiStrategy.SetStrategicObjectsModifier Base 2.0 Hostile
AiStrategy.CreateStrategy inBattle
AiStrategy.Aggression 0.8
AiStrategy.NumberOfAttacks 2
AiStrategy.NumberOfDefences 3
AiStrategy.SetPrerequisite inBattlePrereq
AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0
AiStrategy.SetStrategicObjectsModifier StrongPoint 2.0
AiStrategy.SetStrategicObjectsModifier East 0.25 Owned
AiStrategy.SetStrategicObjectsModifier Route 0.1 Owned
AiStrategy.CreateStrategy loosing
AiStrategy.Aggression 1.0
AiStrategy.NumberOfAttacks 2
AiStrategy.NumberOfDefences 0
AiStrategy.SetPrerequisite losePrereq
AiStrategy.SetStrategicObjectsModifier ControlPoint 5.0
AiStrategy.SetStrategicObjectsModifier StrongPoint 2.0
AiStrategy.SetStrategicObjectsModifier East 0.25 Owned
AiStrategy.SetStrategicObjectsModifier Route 0.1 Owned
AiStrategy.SetStrategicObjectsModifier Base 0.3 Hostile
rem ** Brittish **
AiStrategy.CreateStrategy 2Attack
AiStrategy.Aggression 1.0
AiStrategy.NumberOfAttacks 2
AiStrategy.NumberOfDefences 0
AiStrategy.SetPrerequisite 2AttackPrereq
AiStrategy.TimeLimit 180
AiStrategy.CreateStrategy 3Attack
AiStrategy.Aggression 1.0
AiStrategy.NumberOfAttacks 3
AiStrategy.NumberOfDefences 0
AiStrategy.SetPrerequisite 3AttackPrereq
AiStrategy.TimeLimit 180
AiStrategy.CreateStrategy mopUp
AiStrategy.Aggression 0.7
AiStrategy.NumberOfAttacks 1
AiStrategy.NumberOfDefences 2
AiStrategy.SetPrerequisite mopUpPrereq
AiStrategy.SetStrategicObjectsModifier StrongPoint 2.0
AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0
AiStrategy.SetStrategicObjectsModifier East 0.25 Owned
AiStrategy.SetStrategicObjectsModifier Route 0.1 Owned
Go to the AiStrategy properties list page, AiStrategy page, All Properties list, or Main scripting page.