\b;Programmes envoyés par Houston
Voilà un programme développé par nos ingénieurs.

Il permet au \l;robot bouclier\u object\botshld; de suivre et de protéger le \l;robot phazer\u object\botphaz;.
\c;
\s;extern void object::SuivrePhazer()
\s;{
\s;	object  item;
\s;	point   dest;
\s;	float   dist;
\s;	
\s;	item = radar(PhazerShooter);
\s;	if ( item == null )
\s;	{
\s;		message("Phazer pas trouvé");
\s;		return;
\s;	}
\s;	shield(1);  // déploie le bouclier
\s;	
\s;	while ( true )
\s;	{
\s;		item = radar(PhazerShooter);
\s;		if ( item == null )  break;
\s;		
\s;		dist = distance(item.position, position);
\s;		if ( dist < 5 )
\s;		{
\s;			wait(1);
\s;		}
\s;		else
\s;		{
\s;			dest.x = (item.position.x-position.x)*((dist-5)/dist)+position.x;
\s;			dest.y = (item.position.y-position.y)*((dist-5)/dist)+position.y;
\s;			dest.z = (item.position.z-position.z)*((dist-5)/dist)+position.z;
\s;			goto(dest, 0, 1, 1);
\s;		}
\s;	}
\s;}
\n;
\b;Archives
Résumé des programmes déjà reçus:

o  \c;\l;ServiceTower1\u programs/8_ServiceTower1;\n;
o  \c;\l;CollectTitanium3\u programs/7_CollectTitanium3;\n;
o  \c;\l;KillAnt1\u programs/6_KillAnt1;\n;
o  \c;\l;CollectTitanium2\u programs/5_CollectTitanium2;\n;
o  \c;\l;CollectTitanium1\u programs/4_CollectTitanium1;\n;
o  \c;\l;Recharge2\u programs/3_Recharge2;\n;
o  \c;\l;Recharge1\u programs/2_Recharge1;\n;
o  \c;\l;SwitchCell1\u programs/1_SwitchCell1;\n;
