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

  1. ;
  2. ; AI Conditional FSM for freedom guard teams
  3. ;
  4. DefineAICondTree()
  5. {
  6.   ;
  7.   ; Conditional State #1
  8.   ;
  9.   DefineCondState()
  10.   {
  11.     DefineCondition(2 0 0 50 "youwin1.txt")
  12.     {      
  13.       CritTimer(14000)
  14.     }
  15.     SetAIPFile(IDEasy1.aip)
  16.   }
  17.  
  18.   ;
  19.   ; Conditional State #2
  20.   ;
  21.   DefineCondState()
  22.   {
  23.     DefineCondition(3 0 0 50 "youwin1.txt")
  24.     {
  25.       CritLessUnitsThanEnemy(100)
  26.     }
  27.     SetAIPFile(IDEasy1.aip)
  28.   }
  29.  
  30.   ;
  31.   ; Conditional State #3
  32.   ;
  33.   DefineCondState()
  34.   {
  35.     DefineCondition(2 0 0 50 "youwin1.txt")
  36.     {
  37.       CritMoreUnitsThanEnemy(150)
  38.     }
  39.     SetAIPFile(IDEasy2.aip)
  40.   }
  41. }
  42.