CreateStrategy Property

Usage:
   AiStrategy.CreateStrategy name

Argument values:

argument 1:    1Attack, 1Repulse, 1repulse, 2Attack, 2Repulse, 2repulse, 3Attack, Attack, Base, Both, Defend, NavyDestroy, OutPost, airToNaval, allDefence, allOutAttack, alliedRepulse, assault, assaultBeach, axisRepulse, ...

This property is not a part of any defined type of object.

Used in a total of 33 .con files: Strategies.con

Parent directories of these .con files: Bf1942/Levels, Bf1942/Game

Example: (from Bf1942/Levels/Battle_of_the_Bulge/AI/Strategies.con)
   if v_arg1 == host
   rem ----- Host
   rem ----------------------------------------------------------------------------
   rem *** Create Strategies ***
   rem *** German on Battle for the Bulge ***
   AiStrategy.CreateStrategy west
   AiStrategy.Aggression 0.75
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 1
   AiStrategy.TimeLimit 200
   AiStrategy.SetPrerequisite westPrereq
   AiStrategy.SetStrategicObjectsModifier Remote 10.0 Hostile
   AiStrategy.SetStrategicObjectsModifier Remote 10.0 Neutral
   AiStrategy.SetStrategicObjectsModifier Safe 0.2 Owned
   AiStrategy.SetStrategicObjectsModifier Remote 0.2 Owned
   AiStrategy.CreateStrategy east
   AiStrategy.Aggression 0.75
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 1
   AiStrategy.TimeLimit 200
   AiStrategy.SetPrerequisite eastPrereq
   AiStrategy.SetStrategicObjectsModifier Route 10.0 Hostile
   AiStrategy.SetStrategicObjectsModifier Route 10.0 Neutral
   AiStrategy.SetStrategicObjectsModifier Safe 0.2 Owned
   AiStrategy.SetStrategicObjectsModifier Route 0.2 Owned
   AiStrategy.CreateStrategy bridge
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 0
   AiStrategy.TimeLimit 300
   AiStrategy.SetPrerequisite bridgePrereq
   AiStrategy.SetStrategicObjectsModifier Bridge 10.0
   AiStrategy.SetStrategicObjectsModifier Safe 0.2 Owned
   AiStrategy.SetStrategicObjectsModifier Close 0.2 Hostile
   AiStrategy.SetStrategicObjectsModifier StrongPoint 10.0 Hostile
   AiStrategy.SetStrategicObjectsModifier Close 0.2 Neutral
   AiStrategy.SetStrategicObjectsModifier StrongPoint 10.0 Neutral
   AiStrategy.CreateStrategy doubleFlank
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 0
   AiStrategy.TimeLimit 300
   AiStrategy.SetPrerequisite doubleFlankPrereq
   AiStrategy.SetStrategicObjectsModifier Safe 0.2 Owned
   AiStrategy.SetStrategicObjectsModifier ControlPoint 3.0 Hostile
   AiStrategy.SetStrategicObjectsModifier ControlPoint 3.0 Neutral
   AiStrategy.CreateStrategy finalPush
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 0
   AiStrategy.SetPrerequisite finalPushPrereq
   AiStrategy.SetStrategicObjectsModifier Base 10.0 Hostile
   AiStrategy.SetStrategicObjectsModifier ChokePoint 5.0 Hostile
   AiStrategy.SetStrategicObjectsModifier Base 10.0 Neutral
   AiStrategy.SetStrategicObjectsModifier ChokePoint 5.0 Neutral
   rem *** Americans on Battle of the Bulge ***
   AiStrategy.CreateStrategy holdFront3
   AiStrategy.Aggression 0.0
   AiStrategy.NumberOfAttacks 0
   AiStrategy.NumberOfDefences 3
   AiStrategy.SetPrerequisite front3Prereq
   AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0
   AiStrategy.SetStrategicObjectsModifier Centre 1.5 Owned
   AiStrategy.SetStrategicObjectsModifier Close 2.0 Owned
   AiStrategy.SetStrategicObjectsModifier Base 3.0 Owned
   AiStrategy.SetStrategicObjectsModifier Safe 0.05 Owned
   AiStrategy.SetStrategicObjectsModifier Front 10.0 Owned
   AiStrategy.CreateStrategy retake
   AiStrategy.Aggression 0.6
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 1
   AiStrategy.SetPrerequisite retakePrereq
   AiStrategy.SetStrategicObjectsModifier Centre 1.5 Owned
   AiStrategy.SetStrategicObjectsModifier Close 2.0 Owned
   AiStrategy.SetStrategicObjectsModifier Base 3.0 Owned
   AiStrategy.SetStrategicObjectsModifier Safe 0.05 Owned
   AiStrategy.SetStrategicObjectsModifier Front 10.0 Owned
   AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0
   AiStrategy.CreateStrategy breakOut
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 1
   AiStrategy.SetPrerequisite breakOutPrereq
   AiStrategy.SetStrategicObjectsModifier Centre 1.5 Owned
   AiStrategy.SetStrategicObjectsModifier Close 2.0
   AiStrategy.SetStrategicObjectsModifier Base 3.0
   AiStrategy.SetStrategicObjectsModifier Safe 0.05 Owned
   AiStrategy.SetStrategicObjectsModifier Front 10.0
   AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0


Go to the AiStrategy properties list page, AiStrategy page, All Properties list, or Main scripting page.