home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 2000 January
/
CD-Gamer_2000-01_04_cd.bin
/
games
/
phoenix.exe
/
Tactics
/
Misc
/
RANDOMPATHDIRECT.tac
< prev
next >
Wrap
Text File
|
1999-07-13
|
290b
|
21 lines
// A=me, B= start target null
A: CANTPICK
Start(A)
Set Priority(A,1000000)
Unlock
FlyTo(AB)
Label(FlyTowards)
If(CloseTogether[A,B,4000]): Goto(PickNext)
Goto(FlyTowards)
Label(PickNext)
Do(PickRandomPath[A,B,B])
FlyTo(AB)
Goto(FlyTowards)
Label(Adone)
Goto(Adone)