bd201d29ff
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@77 127b21dd-08f5-0310-b4b7-95ae10353056
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
{
|
|
"FLYING_ESCORT" = {
|
|
ENTER = (performEscort);
|
|
"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget, "setAITo: interceptAI.plist");
|
|
RESTARTED = ("setStateTo: BEGIN_BUSINESS");
|
|
ESCORTING = ("setDesiredRangeTo: 0.0", performEscort);
|
|
"INCOMING_MISSILE" = ("messageMother: INCOMING_MISSILE");
|
|
"ATTACKED" = ("messageMother: ATTACKED");
|
|
"NOT_ESCORTING" = ("setStateTo: LOOK_FOR_BUSINESS");
|
|
"TARGET_LOST" = ("setStateTo: LOOK_FOR_BUSINESS");
|
|
"TARGET_DESTROYED" = ("setStateTo: LOOK_FOR_BUSINESS");
|
|
EXIT = ();
|
|
UPDATE = (escortCheckMother, "pauseAI: 15");
|
|
};
|
|
"BEGIN_BUSINESS" = {
|
|
ATTACKED = (setTargetToPrimaryAggressor, "setAITo: interceptAI.plist");
|
|
ENTER = (escortCheckMother);
|
|
EXIT = ();
|
|
ESCORTING = ("setDesiredRangeTo: 0.0", performEscort);
|
|
"NOT_ESCORTING" = ("setStateTo: LOOK_FOR_BUSINESS");
|
|
UPDATE = ();
|
|
};
|
|
"LOOK_FOR_BUSINESS" = {
|
|
ATTACKED = (setTargetToPrimaryAggressor, "setAITo: interceptAI.plist");
|
|
RESTARTED = ("setStateTo: BEGIN_BUSINESS");
|
|
ENTER = ("setSpeedTo: 0.0", performIdle);
|
|
EXIT = ();
|
|
ESCORTING = ("setDesiredRangeTo: 0.0", "setStateTo: FLYING_ESCORT");
|
|
"TARGET_FOUND" = (setTargetToFoundTarget, suggestEscort);
|
|
UPDATE = (scanForFormationLeader, "pauseAI: 15.0");
|
|
};
|
|
GLOBAL = {ENTER = ("setStateTo: BEGIN_BUSINESS"); EXIT = (); UPDATE = (); };
|
|
} |