HomeAI
From Elite Wiki
Revision as of 13:14, 2 January 2011 by Eric Walch (talk | contribs) (script example from Oolite -> scripting page)
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 = (); }; }