3873fdfe42
- 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
21 lines
627 B
Plaintext
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);
|
|
};
|
|
} |