Difference between revisions of "EnteringPirateAI"

From Elite Wiki
m (updated Giles' correction)
(Edited to match enteringPirateAI.plist in the SVN repository for v1.62)
Line 1: Line 1:
 
  {
 
  {
    GLOBAL = {
+
    GLOBAL = {ENTER = ("setStateTo: CHECK_HOLD"); EXIT = (); UPDATE = (); };  
      ENTER = ("setStateTo: CHECK_HOLD");
+
    "CHECK_HOLD" = {
      EXIT = ();  
+
ENTER = (checkForFullHold);
      UPDATE = (); };  
+
        "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
:
+
EXIT = ();
    "CHECK_HOLD" = {
+
UPDATE = ("setStateTo: STILL_HUNGRY");
      ENTER = (checkForFullHold);
+
};  
      "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
+
    "STILL_HUNGRY" = {
      EXIT = ();
+
ENTER = ();
      UPDATE = ("switchStateTo: STILL_HUNGRY"); };  
+
EXIT = ();
:
+
        "HOLD_FULL" = ("switchAITo: enteringTraderAI.plist");
    "STILL_HUNGRY" = {
+
UPDATE = ("switchAITo: pirateAI.plist");
      ENTER = ();
+
};  
      EXIT = ();
+
}
      UPDATE = ("switchAITo: pirateAI.plist"); }; }
 
  
 
'''[[AI|BACK]]'''
 
'''[[AI|BACK]]'''

Revision as of 16:05, 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");
	}; 
}

BACK