home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April B
/
Pcwk4b98.iso
/
Gry
/
DARKREIG
/
Data
/
Dark
/
Aip
/
TSpecial.FSM
< prev
Wrap
Text File
|
1997-10-28
|
1KB
|
60 lines
;
; AI Conditional FSM for freedom guard teams
;
DefineAICondTree()
{
Description("Togra: This AI will use highest level units it can build")
;
; Conditional State #1
;
DefineCondState()
{
DefineCondition(2 0 0 50 "youwin1.txt")
{
CritBuildBuilding(fc2 0 1)
}
SetAIPFile(TDHar1.aip)
}
;
; Conditional State #2
;
DefineCondState()
{
DefineCondition(3 0 0 50 "youwin1.txt")
{
CritBuildBuilding(fgar 0 1)
}
DefineCondition(1 0 0 50 "youwin1.txt")
{
CritNOT()
{
CritBuildBuilding(fc2 0 1)
}
}
SetAIPFile(TDHar2.aip)
}
;
; Conditional State #3
;
DefineCondState()
{
DefineCondition(1 0 0 50 "youwin1.txt")
{
CritNOT()
{
CritBuildBuilding(fc2 0 1)
}
}
DefineCondition(2 0 0 50 "youwin1.txt")
{
CritNOT()
{
CritBuildBuilding(fgar 0 1)
}
}
SetAIPFile(TDHar3.aip)
}
}