home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2000 January
/
CD-Gamer_2000-01_04_cd.bin
/
games
/
phoenix.exe
/
Tactics
/
Dogfight
/
2on1Fighter.tac
< prev
next >
Wrap
Text File
|
1999-09-20
|
821b
|
48 lines
// A represents roles A and B
A: FIGHTER
// B represents role C
B: FIGHTER;FIGHTER2;TURRET;EMPLACEMENT
Targets(B)
Link: A,A
Link: B,A
Link: C,B
Start(A)
Set Priority(A,5)
// Are we together?
If(CloseTogether[A,B,10000]): Goto(AB_TOGETHER)
// squad completely split.
//Tactic Message({A}:{}LETS GET HIM,{B})
Split(AC,1on1Fighter)
Split(BC,1on1Fighter)
Goto(Adone)
Label(AB_TOGETHER)
Do(Random[A,2])
If(RandomIs[A,0]): Goto(AB_TOG_FORMATION)
//Tactic Message({A}:{}LETS GET HIM,{B})
Split(AC,1on1Fighter)
Split(BC,1on1Fighter)
Goto(Adone)
Label(AB_TOG_FORMATION)
//Tactic Message({A}:{}FOLLOW ME IN,{B})
Split(ABC,2on1FighterFormation)
Goto(Adone)
Label(Adone)
Goto(Adone)
Start(B)
Label(Bdone)
Goto(Bdone)
Start(C)
Label(Cdone)
Goto(Cdone)