Difference between revisions of "EnteringPirateAI"

From Elite Wiki
 
m (updated Giles' correction)
Line 6: Line 6:
 
:
 
:
 
"CHECK_HOLD" = {
 
"CHECK_HOLD" = {
ENTER = (checkForFullHold, "switchStateTo: STILL_HUNGRY");
+
ENTER = (checkForFullHold);
 
"HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
 
"HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
 
EXIT = ();
 
EXIT = ();
UPDATE = (); };
+
UPDATE = ("switchStateTo: STILL_HUNGRY"); };
 
:
 
:
 
"STILL_HUNGRY" = {
 
"STILL_HUNGRY" = {

Revision as of 13:13, 24 January 2006

{
   GLOBAL = {
     ENTER = ("setStateTo: CHECK_HOLD");
     EXIT = (); 
     UPDATE = (); }; 
   "CHECK_HOLD" = {
     ENTER = (checkForFullHold);
     "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
     EXIT = ();
     UPDATE = ("switchStateTo: STILL_HUNGRY");	}; 
   "STILL_HUNGRY" = {
     ENTER = ();
     EXIT = ();
     UPDATE = ("switchAITo: pirateAI.plist"); }; }

BACK