NumberOfAttacks Property

Usage:
   AiStrategy.NumberOfAttacks number

Argument values:

argument 1:    range is 0 to 6; most commonly 1

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/Gothic_Line/ai/Strategies.con)
   if v_arg1 == host
   rem *** Create Strategies ***
   rem *** Gothic Line ***
   rem ** German **
   AiStrategy.CreateStrategy scramble
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 0
   AiStrategy.SetPrerequisite scramblePrereq
   AiStrategy.SetStrategicObjectsModifier Neutral 4.0
   rem ** American **
   AiStrategy.CreateStrategy sneak
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 2
   AiStrategy.NumberOfDefences 0
   AiStrategy.SetPrerequisite sneakPrereq
   AiStrategy.SetStrategicObjectsModifier Neutral 4.0
   rem ** Common **
   AiStrategy.CreateStrategy singleAttack
   AiStrategy.Aggression 1.0
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 0
   AiStrategy.SetPrerequisite singlePrereq
   AiStrategy.CreateStrategy holdAndCamp
   AiStrategy.Aggression 0.65
   AiStrategy.NumberOfAttacks 1
   AiStrategy.NumberOfDefences 1
   AiStrategy.SetPrerequisite holdAndCampPrereq
   AiStrategy.SetStrategicObjectsModifier Safe 0.2 Owned
   AiStrategy.SetStrategicObjectsModifier ControlPoint 2.0 Owned


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