home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2000 January
/
CD-Gamer_2000-01_04_cd.bin
/
games
/
phoenix.exe
/
Tactics
/
Dogfight
/
2on2FighterGetTogether.tac
< prev
next >
Wrap
Text File
|
1999-09-15
|
1KB
|
59 lines
// Role class A is used for BOTH roles A and B
A: CANTPICK
// Role Class B is used for BOTH roles C and D
B: CANTPICK
Targets(B)
Link: A,A
Link: B,A
Link: C,B
Link: D,B
Start(A)
Timer(A,4000)
FlyFormation1(AB)
Set Priority(A,10)
Label(ENEMY_TOGETHER)
// Are we together?
If(ShotByOther[A,F]): Gosub(A_SHOT_BY_OTHER)
If(CloseTogether[A,B,20000]): Goto(SQUAD_TOGETHER)
If(CloseTogether[C,D,20000]): If(Timer[A]): Goto(ENEMY_TOGETHER)
If(CloseTogether[C,D,20000]): Goto(GO_FOR_IT)
//Tactic Message({A}:{}THEYRE BREAKING FORMATION.)
Split(ABCD,2on2Fighter)
Goto(Adone)
Label(GO_FOR_IT)
Split(AC,1on1Fighter)
Split(BD,1on1Fighter)
Goto(Adone)
Label(SQUAD_TOGETHER)
Split(ABCD,2on2Fighter)
Goto(Adone)
Label(Adone)
Goto(Adone)
Label(A_SHOT_BY_OTHER)
Split(ABF,2on1Fighter)
Goto(Adone)
Start(B)
FlyFormation2(BA)
Label(Bdone)
If(ShotByOther[B,F]): Gosub(B_SHOT_BY_OTHER)
Goto(Bdone)
Label(B_SHOT_BY_OTHER)
Split(BAF,2on1Fighter)
Label(Done)
Goto(Done)