home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 3.11
/
1998-02_Disc_3.11.iso
/
DR-DEMO
/
DATA
/
DARK
/
AIP
/
IPDEFEND.FSM
< prev
next >
Wrap
Text File
|
1997-10-28
|
558b
|
32 lines
;
; AI Conditional FSM for Imperium defend base and perimeter.
;
DefineAICondTree()
{
Description("Imperium: The AI will only defend its base and the perimeter.")
;
; Conditional State #1
;
DefineCondState()
{
DefineCondition(2 0 0 50 defend_base)
{
CritLessUnitsThanEnemy(100)
}
SetAIPFile(IPDPer.aip)
}
;
; Conditional State #2
;
DefineCondState()
{
DefineCondition(1 0 0 50 defend_perimeter)
{
CritMoreUnitsThanEnemy(120)
}
SetAIPFile(IPDBase.aip)
}
}