CreatePrerequisite Property

Usage:
   AiStrategy.CreatePrerequisite name

Argument values:

argument 1:    1AttackPrereq, 1RepulsePrereq, 1repulsePrereq, 2AttackPrereq, 2RepulsePrereq, 2repulsePrereq, 3AttackPrereq, airToNavalPrereq, allCPsPrereq, alliedRepulsePrereq, attackPrereq, axisRepulsePrereq, backPrereq, ...

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

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

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

Example: (from Bf1942/Levels/cassino/AI/prerequisites.con)
   if v_arg1 == host
   rem ----- Host
   rem ----------------------------------------------------------------------------
   rem *** Create Prerequisites ***
   rem *** Monte Cassino ***
   rem ** German **
   rem * initialDefence *
   AiStrategy.CreatePrerequisite initialDefencePrereq
   AiStrategy.AddCondition fiveCPCond 10.0
   rem * slopeDefence *
   AiStrategy.CreatePrerequisite slopeDefencePrereq
   AiStrategy.AddCondition twoBaseCond 5.0
   rem * monistaryDefence *
   AiStrategy.CreatePrerequisite monistaryDefencePrereq
   AiStrategy.AddCondition oneCPCond 5.0
   rem * counterAttack *
   AiStrategy.CreatePrerequisite counterPrereq
   AiStrategy.AddCondition maxFourCPCond 6.5
   rem ** French **
   rem * hillClimb *
   AiStrategy.CreatePrerequisite climbPrereq
   AiStrategy.AddCondition maxThreeCPCond 10.0
   rem * recover *
   AiStrategy.CreatePrerequisite recoverPrereq
   AiStrategy.AddCondition constCond 5.0
   rem * monistaryAttack *
   AiStrategy.CreatePrerequisite monistaryPrereq
   AiStrategy.AddCondition minThreeCPCond 2.5
   AiStrategy.AddCondition minOneEnemyBaseCond 5.0
   rem * monistaryBackEnter *
   AiStrategy.CreatePrerequisite backPrereq
   AiStrategy.AddCondition twoEnemyBaseCond 2.5
   AiStrategy.AddCondition minOneEnemyFlankCond 2.5


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