This page is under construction
Archives/bf1942/levels/maps - with documentation/Battleaxe/Battleaxe_003.rfa
Bf1942/Levels/Battleaxe/AI/conditions.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Operation Battle Axe ***
rem ** common **
aiStrategy.createConstantCondition centreCond Crisp EqualGreater Friendly Centre 1
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 120
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1
rem ** west **
aiStrategy.createConstantCondition enemyWestCond Crisp EqualGreater Enemy West 1
aiStrategy.setConditionStrength Required
rem ** east **
aiStrategy.createConstantCondition enemyEastCond Crisp EqualGreater Enemy East 1
aiStrategy.setConditionStrength Required
rem ** doubleFlank **
aiStrategy.createConstantCondition doubleFrontCond Crisp EqualGreater Enemy Front 2
aiStrategy.setConditionStrength Required
rem ** finalPush **
aiStrategy.createConstantCondition singleEnemyCpCond Crisp EqualSmaller Enemy ControlPoint 1
aiStrategy.setConditionStrength Required
rem ** breakOut **
aiStrategy.createConstantCondition oneCPOrLessCond Crisp Equal Friendly ControlPoint 1
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create Conditions ***
rem *** Operation Battle Axe ***
rem ** common **
aiStrategy.createConstantCondition centreCond Crisp EqualGreater Friendly Centre 1
aiStrategy.setConditionStrength Required
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 120
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1
rem ** west **
aiStrategy.createConstantCondition enemyWestCond Crisp EqualGreater Enemy West 1
aiStrategy.setConditionStrength Required
rem ** east **
aiStrategy.createConstantCondition enemyEastCond Crisp EqualGreater Enemy East 1
aiStrategy.setConditionStrength Required
rem ** doubleFlank **
aiStrategy.createConstantCondition doubleFrontCond Crisp EqualGreater Enemy Front 2
aiStrategy.setConditionStrength Required
rem ** finalPush **
aiStrategy.createConstantCondition singleEnemyCpCond Crisp EqualSmaller Enemy ControlPoint 1
aiStrategy.setConditionStrength Required
rem ** breakOut **
aiStrategy.createConstantCondition oneCPOrLessCond Crisp Equal Friendly ControlPoint 1
aiStrategy.setConditionStrength Required
rem ----------------------------------------------------------------------------
endIf