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