CreateHomogenousCondition Property

Usage:
   AiStrategy.CreateHomogenousCondition string string string string Ticket

Argument values:

argument 1:    loosingCond, navalCond, overwhelmingPowerCond, weakCond
argument 2:    Crisp, Fuzzy; most commonly Fuzzy
argument 3:    QuotientGreater, QuotientSmaller; most commonly QuotientSmaller
argument 4:    Both; most commonly Both
argument 5:    Ticket

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

Used in a total of 3 .con files: Conditions.con

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

Example: (from Bf1942/Game/AI/conditions.con)
   rem *** Create Conditions ***
   AiStrategy.CreateConstantCondition constTest Crisp EqualGreater Friendly UnitConstant 0.5
   AiStrategy.SetConditionStrength Advisory
   AiStrategy.CreateConstantCondition halfConstCond Crisp EqualGreater Friendly UnitConstant 0.5
   AiStrategy.SetConditionStrength Advisory
   AiStrategy.CreateHomogenousCondition overwhelmingPowerCond Fuzzy QuotientGreater Both Ticket
   AiStrategy.SetConditionStrength Required
   AiStrategy.TargetValue 2.5
   AiStrategy.CreateHomogenousCondition loosingCond Fuzzy QuotientSmaller Both Ticket
   AiStrategy.SetConditionStrength Advisory
   AiStrategy.TargetValue 0.4
   AiStrategy.CreateHomogenousCondition navalCond Fuzzy QuotientSmaller Both Naval
   AiStrategy.SetConditionStrength Advisory
   AiStrategy.TargetValue 0.75
   AiStrategy.CreateConstantCondition airPlaneCond Crisp EqualGreater Friendly Air 40
   AiStrategy.SetConditionStrength Required
   AiStrategy.CreateAreaCondition areaTest AleisBase Owned
   AiStrategy.SetConditionStrength Advisory


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