home *** CD-ROM | disk | FTP | other *** search
- ;
- ; AI Conditional FSM for freedom guard teams
- ;
- DefineAICondTree()
- {
- Description("Togra: This AI will attack fast and with all units types")
- ;
- ; Conditional State #1
- ;
- DefineCondState()
- {
- DefineCondition(2 0 0 50 "youwin1.txt")
- {
- CritTimer(14000)
- }
- SetAIPFile(TDMed1.aip)
- }
-
- ;
- ; Conditional State #2
- ;
- DefineCondState()
- {
- DefineCondition(3 0 0 50 "youwin1.txt")
- {
- CritLessUnitsThanEnemy(100)
- }
- SetAIPFile(TDMed1.aip)
- }
-
- ;
- ; Conditional State #3
- ;
- DefineCondState()
- {
- DefineCondition(2 0 0 50 "youwin1.txt")
- {
- CritMoreUnitsThanEnemy(150)
- }
- SetAIPFile(TDMed2.aip)
- }
- }
-