oolite/Resources/AIs/receiveDockingAI.plist
Eric Walch 3873fdfe42 - Docking and launching ships now correct for the length of a docking corridor inside the station.
- Added an AI reactToMassage "STATION_LAUNCHED_SHIP", to allow an AI to react on a launch.
- fixed the missing "shipWillLaunchFromStation" event for NPC ships.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3923 127b21dd-08f5-0310-b4b7-95ae10353056
2010-12-30 09:27:44 +00:00

21 lines
627 B
Plaintext

{
GLOBAL =
{
ENTER = (performStop);
"DOCKING_COMPLETE" = ("setStateTo: WAIT_A_MOMENT");
"DOCKING_REQUESTED" = ("dropMessages: DOCKING_COMPLETE");
"STATION_LAUNCHED_SHIP" = ("pauseAI: 10.0");
ATTACKED = ("exitAIWithMessage: ATTACKED");
"INCOMING_MISSILE" = ("exitAIWithMessage: INCOMING_MISSILE");
UPDATE = ("pauseAI: 10.0");
};
"WAIT_A_MOMENT" =
{
ENTER = ("pauseAI: 10.0");
"DOCKING_REQUESTED" = ("setStateTo: GLOBAL");
"STATION_LAUNCHED_SHIP" = ("pauseAI: 10.0");
ATTACKED = ("exitAIWithMessage: ATTACKED");
"INCOMING_MISSILE" = ("exitAIWithMessage: INCOMING_MISSILE");
UPDATE = (exitAI);
};
}