Difference between revisions of "EnteringPirateAI"
From Elite Wiki
(Edited to match enteringPirateAI.plist in the SVN repository for v1.62) |
m (Edited to match enteringPirateAI.plist in the SVN repository for v1.62) |
||
Line 1: | Line 1: | ||
{ | { | ||
− | + | GLOBAL = {ENTER = ("setStateTo: CHECK_HOLD"); EXIT = (); UPDATE = (); }; | |
− | + | "CHECK_HOLD" = { | |
ENTER = (checkForFullHold); | ENTER = (checkForFullHold); | ||
− | + | "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist"); | |
EXIT = (); | EXIT = (); | ||
UPDATE = ("setStateTo: STILL_HUNGRY"); | UPDATE = ("setStateTo: STILL_HUNGRY"); | ||
}; | }; | ||
− | + | "STILL_HUNGRY" = { | |
ENTER = (); | ENTER = (); | ||
EXIT = (); | EXIT = (); | ||
− | + | "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist"); | |
UPDATE = ("switchAITo: pirateAI.plist"); | UPDATE = ("switchAITo: pirateAI.plist"); | ||
}; | }; |
Revision as of 16:06, 24 January 2006
{ GLOBAL = {ENTER = ("setStateTo: CHECK_HOLD"); EXIT = (); UPDATE = (); }; "CHECK_HOLD" = { ENTER = (checkForFullHold); "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist"); EXIT = (); UPDATE = ("setStateTo: STILL_HUNGRY"); }; "STILL_HUNGRY" = { ENTER = (); EXIT = (); "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist"); UPDATE = ("switchAITo: pirateAI.plist"); }; }