This page is under construction
archives/bf1942/levels/dc_weapon_bunkers.rfa
bf1942/levels/DC_Weapon_Bunkers/AI/conditions.con
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------

rem *** Create Conditions ***

rem ** common **
aiStrategy.createConstantCondition timeCond Fuzzy EqualSmaller Friendly StartTime 240
aiStrategy.setConditionStrength AdvisoryNegative
aiStrategy.setIsAbortCondition 1

rem ** single & double **
aiStrategy.createConstantCondition maxOneEnemyCP Crisp EqualSmaller Enemy ControlPoint 1
aiStrategy.setConditionStrength Required

rem ** holdAndCamp **
aiStrategy.createConstantCondition twoFriendlyCPCond Crisp Equal Friendly ControlPoint 4
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition minFiveFriendlyAreasCond Crisp EqualGreater Friendly NumberOfHostileAreas 3
aiStrategy.setConditionStrength Required

rem ** breakOut **
aiStrategy.createConstantCondition noFriendlyCPCond Crisp Equal Friendly ControlPoint 0
aiStrategy.setConditionStrength Required

aiStrategy.createConstantCondition twoEnemyCPCond Crisp Equal Enemy ControlPoint 3
aiStrategy.setConditionStrength Required


rem ----------------------------------------------------------------------------
endIf