home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2001 November
/
Gamestar_34_2001-11_cd1.bin
/
PATCHE
/
colobotpatch17e.exe
/
english
/
user
/
sample01
/
skill.txt
< prev
next >
Wrap
Text File
|
2001-09-03
|
407b
|
18 lines
extern void object::TueFourmis()
{
object chose; // dΘclaration variable
aim(0); // met le canon droit
while ( true ) // rΘpΦte toujours :
{
chose = radar(AlienAnt, 0, 360, 0, 40);
if ( chose != null ) // dΘtectΘ fourmi ?
{
turn(direction(chose.position));
fire(0.5); // tire 0.5s
}
wait(1); // attend 1s
}
}