Difference between revisions of "TimebombAI"
From Elite Wiki
m |
Eric Walch (talk | contribs) (Script example from Oolite -> scripting page) |
||
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); |
||
}; |
}; |
||
} |
} |
||
Line 14: | Line 12: | ||
[[AI|BACK]] |
[[AI|BACK]] |
||
− | [[Category:Oolite]] |
+ | [[Category:Oolite scripting]] |
Latest revision as of 12:59, 2 January 2011
{ GLOBAL = { ENTER = ("pauseAI: 5.0"); UPDATE = ("setStateTo: DETONATE"); };
DETONATE = { ENTER = (becomeEnergyBlast); }; }