AddSAIStrategy Property

Usage:
   Ai.AddSAIStrategy number name

Argument values:

argument 1:    range is 1 to 2; most commonly 1
argument 2:    1Attack, 1Repulse, 1repulse, 2Attack, 2Repulse, 2repulse, 3Attack, Attack, Base, Both, Defend, NavyDestroy, OutPost, alliedRepulse, assault, axisRepulse, baseCamp, beachDefence, beakOut, behind, both, ...

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

Used in a total of 31 .con files: Ai.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/husky/AI.con)
   Game.ShowAIStats 0
   rem *** Bot statistic ***
   Ai.BotStatisticUpdateSpeed 3
   rem --------------------------------------
   endIf
   run AIPathFinding.con v_arg1
   rem *** Create strategically important areas ***
   run ai/StrategicAreas v_arg1
   rem *** Load and set strategies for each side ***
   run ai/conditions v_arg1
   run ai/prerequisites v_arg1
   run ai/Strategies v_arg1
   if v_arg1 == host
   rem ----- Host
   rem --------------------------------------
   Ai.AddSAIStrategy 1 beachDefence
   Ai.AddSAIStrategy 1 repulse
   Ai.AddSAIStrategy 2 assault


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