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 = {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"); | |
− | + | }; | |
− | + | } | |
− | |||
'''[[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"); }; }