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