home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2000 January
/
CD-Gamer_2000-01_04_cd.bin
/
games
/
phoenix.exe
/
Tactics
/
Dogfight
/
DumbFire.tac
< prev
next >
Wrap
Text File
|
1999-08-06
|
505b
|
25 lines
A: EMPLACEMENT
B: FIGHTER;TURRET;BOMBER;FIGHTER2;EMPLACEMENT
Targets(B)
Start(A)
// Pick the closest enemy every second, after an initial period of 5 seconds.
Lock(B)
Do(SayIm[A,"ATTACK",B])
StopAndFire(AB)
Timer(A,4000)
Label(FIRST_ATTACK_LOOP)
If(Timer[A]): Goto(FIRST_ATTACK_LOOP)
Label(PICK_NEW_TARGET)
If(GetCloserTargetStrength[A,B]): Lock(B)
Do(SayIm[A,"ATTACK",B])
StopAndFire(AB)
Timer(A,1000)
Label(ATTACK_LOOP)
If(Timer[A]): Goto(ATTACK_LOOP)
Goto(PICK_NEW_TARGET)