EnteringTraderAI

From Elite Wiki
Revision as of 10:55, 12 July 2006 by Winston (talk | contribs)

The AI that entering 'trader-roles' entities get assigned, decides the route. Simple 2 state affair.

{
 GLOBAL = {
   ENTER = ("setStateTo: DECIDE_ROUTE"); 
   EXIT = (); 
   UPDATE = (); }; 
 "DECIDE_ROUTE" = {
   ENTER = ("rollD: 3");
   "ROLL_1" = ("switchAITo: route1traderAI.plist");
   "ROLL_2" = ("switchAITo: route1traderAI.plist");
   "ROLL_3" = ("switchAITo: route2sunskimAI.plist");
   EXIT = ();
   UPDATE = ();};}

BACK