EnteringTraderAI

From Elite Wiki
Revision as of 23:35, 23 January 2006 by Arexack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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