colobot-data/ai/tant2.txt

19 lines
227 B
Plaintext
Raw Normal View History

2012-09-13 21:35:43 +00:00
extern void object::Solution()
{
object item;
jet(0.2);
while(position.z < 20)
{
wait(0.2);
}
jet(0);
while(true)
{
item = radar(AlienAnt);
turn(direction(item.position));
fire(1);
}
}