home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April B
/
Pcwk4b98.iso
/
Gry
/
DARKREIG
/
Data
/
Dark
/
SCENARIO
/
Fixed
/
T3
/
T3C7.END
< prev
next >
Wrap
Text File
|
1997-10-28
|
4KB
|
250 lines
DefineEndCondTree( 0 )
{
;State 1
; If any building or unit is destroyed, the player loses.
DefineCondState()
{
; once the player reaches the neutron accelerators,
; stop failing for killed units
DefineCondition(3 0 0 50 "c1to2.txt")
{
CritHaveCredits (50000)
}
DefineCondition(2 0 0 50 "c1to2.txt")
{
CritOR()
{
CritDestroyBuilding()
{
46
}
CritDestroyBuilding()
{
55
}
CritDestroyBuilding()
{
49
}
CritDestroyBuilding()
{
52
}
CritDestroyBuilding()
{
82
}
CritDestroyBuilding()
{
495
}
CritDestroyBuilding()
{
1955
}
CritDestroyBuilding()
{
534
}
CritDestroyBuilding()
{
535
}
CritDestroyBuilding()
{
498
}
CritDestroyBuilding()
{
501
}
CritDestroyBuilding()
{
1952
}
CritDestroyBuilding()
{
504
}
CritDestroyBuilding()
{
507
}
CritDestroyBuilding()
{
510
}
CritDestroyBuilding()
{
1949
}
CritDestroyBuilding()
{
513
}
CritDestroyBuilding()
{
516
}
CritDestroyBuilding()
{
519
}
CritDestroyBuilding()
{
1388
}
CritDestroyBuilding()
{
909
}
CritDestroyUnit()
{
0
}
CritDestroyUnit()
{
2
}
CritDestroyUnit()
{
6
}
CritDestroyUnit()
{
8
}
CritDestroyUnit()
{
10
}
CritDestroyUnit()
{
12
}
CritDestroyUnit()
{
14
}
CritDestroyUnit()
{
16
}
}
}
}
; Conditional State 2
DefineCondState()
{
; we've taunted the player, so go wait some more
DefineCondition(0 0 0 0 "wait1")
{
CritTimer(200)
}
TriggerMessage(fail2)
}
;State 3
; If any building is destroyed, the player loses.
; Same as state one, but without checking for dead units.
DefineCondState()
{
DefineCondition(2 0 0 50 "c1to2.txt")
{
CritOR()
{
CritDestroyBuilding()
{
46
}
CritDestroyBuilding()
{
55
}
CritDestroyBuilding()
{
49
}
CritDestroyBuilding()
{
52
}
CritDestroyBuilding()
{
82
}
CritDestroyBuilding()
{
495
}
CritDestroyBuilding()
{
1955
}
CritDestroyBuilding()
{
534
}
CritDestroyBuilding()
{
535
}
CritDestroyBuilding()
{
498
}
CritDestroyBuilding()
{
501
}
CritDestroyBuilding()
{
1952
}
CritDestroyBuilding()
{
504
}
CritDestroyBuilding()
{
507
}
CritDestroyBuilding()
{
510
}
CritDestroyBuilding()
{
1949
}
CritDestroyBuilding()
{
513
}
CritDestroyBuilding()
{
516
}
CritDestroyBuilding()
{
519
}
CritDestroyBuilding()
{
1388
}
CritDestroyBuilding()
{
909
}
}
}
}
}