HomeAI

From Elite Wiki
Revision as of 11:01, 12 July 2006 by Winston (talk | contribs)

Simple one-state AI, will land any craft on the nearest planet.

Will exit once landed.

{
   GLOBAL = {
       "DESIRED_RANGE_ACHIEVED" = (landOnPlanet); 
       ENTER = (setCourseToPlanet, performFlyToRangeFromDestination); 
       EXIT = (); 
       UPDATE = ();     }; 
}

BACK