home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 3.11 / 1998-02_Disc_3.11.iso / DR-DEMO / DATA / DARK / AIP / FGDEFEND.FSM < prev    next >
Text File  |  1997-10-28  |  556b  |  31 lines

  1. ;
  2. ; AI Conditional FSM for freedom guard defend base and perimeter.
  3. ;
  4. DefineAICondTree()
  5. {
  6.    Description("FG: The AI will only defend its base and the perimeter.")
  7.   ;
  8.   ; Conditional State #1
  9.   ;
  10.   DefineCondState()
  11.   {
  12.     DefineCondition(2 0 0 50 defend_base)
  13.     {
  14.       CritLessUnitsThanEnemy(100)
  15.     }
  16.     SetAIPFile(FGDPer.aip)
  17.   }
  18.  
  19.   ;
  20.   ; Conditional State #2
  21.   ;
  22.   DefineCondState()
  23.   {
  24.     DefineCondition(1 0 0 50 defend_perimeter)
  25.     {
  26.       CritMoreUnitsThanEnemy(120)
  27.     }
  28.     SetAIPFile(FGDBase.aip)
  29.   }
  30. }
  31.