EnteringTraderAI
From Elite Wiki
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 = ();};}