Difference between revisions of "DumbAI"

From Elite Wiki
(correction)
(script example from Oolite -> scripting page)
 
Line 2: Line 2:
   
 
{
 
{
GLOBAL = {ENTER = ("performTumble"); EXIT = (); UPDATE = (); };
 
  +
GLOBAL =
  +
{
  +
ENTER = (performTumble);
  +
RESTARTED = (performTumble);
  +
UPDATE = ("pauseAI: 3600");
  +
};
 
}
 
}
   
 
== [[AI|BACK]] ==
 
== [[AI|BACK]] ==
   
[[Category:Oolite]]
+
[[Category:Oolite scripting]]

Latest revision as of 13:09, 2 January 2011

The most simple AIscript, only the mandatory GLOBAL state, only one action then it does nothing forever.

{
	GLOBAL =
	{
		ENTER = (performTumble);
		RESTARTED = (performTumble);
		UPDATE = ("pauseAI: 3600");
	};
}

BACK