Difference between revisions of "DumbAI"
From Elite Wiki
Eric Walch (talk | contribs) (script example from Oolite -> scripting page) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The most simple [[AI]]script, only the mandatory GLOBAL state, only one action |
+ | The most simple [[AI]]script, only the mandatory GLOBAL state, only one action then it does nothing forever. |
{ |
{ |
||
− | GLOBAL = {ENTER = ("performTumble"); EXIT = (); UPDATE = (); }; |
||
+ | GLOBAL = |
||
+ | { |
||
+ | ENTER = (performTumble); |
||
+ | RESTARTED = (performTumble); |
||
+ | UPDATE = ("pauseAI: 3600"); |
||
+ | }; |
||
} |
} |
||
+ | |||
+ | == [[AI|BACK]] == |
||
+ | |||
+ | [[Category:Oolite scripting]] |