Difference between revisions of "TimebombAI"

From Elite Wiki
m
m (Added "spacing colons" to emphasise initial/final parantheses)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
  {
 
  {
    DETONATE = {
 
        ENTER = (becomeEnergyBlast);
 
        EXIT = ();
 
        UPDATE = ();    };
 
 
:
 
:
 
     GLOBAL = {
 
     GLOBAL = {
 
         ENTER = ("pauseAI: 5.0");  
 
         ENTER = ("pauseAI: 5.0");  
        EXIT = ();
 
 
         UPDATE = ("setStateTo: DETONATE");  
 
         UPDATE = ("setStateTo: DETONATE");  
 
     };  
 
     };  
 +
:
 +
    DETONATE = {
 +
        ENTER = (becomeEnergyBlast);
 +
    };
 +
:
 
  }
 
  }
  
 
[[AI|BACK]]
 
[[AI|BACK]]
  
[[Category:Oolite]]
+
[[Category:Oolite scripting]]

Latest revision as of 08:24, 12 February 2024

{
   GLOBAL = {
       ENTER = ("pauseAI: 5.0"); 
       UPDATE = ("setStateTo: DETONATE"); 
   }; 
    DETONATE = {
       ENTER = (becomeEnergyBlast); 
   }; 
}

BACK