Difference between revisions of "EnteringTraderAI"
From Elite Wiki
Line 16: | Line 16: | ||
'''[[AI|BACK]]''' |
'''[[AI|BACK]]''' |
||
+ | |||
+ | [[Category:Oolite]] |
Revision as of 11:55, 12 July 2006
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 = ();};}