HomeAI

From Elite Wiki
Revision as of 00:21, 24 January 2006 by Arexack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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