Difference between revisions of "HomeAI"
From Elite Wiki
Eric Walch (talk | contribs) (script example from Oolite -> scripting page) |
|||
| Line 13: | Line 13: | ||
'''[[AI|BACK]]''' | '''[[AI|BACK]]''' | ||
| − | [[Category:Oolite]] | + | [[Category:Oolite scripting]] |
Latest revision as of 12:14, 2 January 2011
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 = (); };
}