2005-04-19 19:53:18 +00:00
|
|
|
{
|
2008-08-03 15:44:57 +00:00
|
|
|
GLOBAL =
|
|
|
|
{
|
|
|
|
ENTER = ("setStateTo: ATTACK_SHIP");
|
|
|
|
};
|
|
|
|
"ATTACK_SHIP" =
|
|
|
|
{
|
|
|
|
ENTER = (performAttack);
|
2012-05-02 20:08:54 +00:00
|
|
|
"CASCADE_WEAPON_DETECTED" = ("setAITo: respondQMineAI.plist");
|
2008-08-03 15:44:57 +00:00
|
|
|
"THARGOID_DESTROYED" = ("setStateTo: CHECK_FOR_CONTROL");
|
|
|
|
"TARGET_DESTROYED" = ("setStateTo: CHECK_FOR_CONTROL");
|
|
|
|
"TARGET_LOST" = ("setStateTo: CHECK_FOR_CONTROL");
|
|
|
|
"NOTHING_FOUND" = ("setStateTo: CHECK_FOR_CONTROL");
|
2010-09-16 20:13:01 +00:00
|
|
|
UPDATE = (thargonCheckMother, "pauseAI: 5.0");
|
2008-08-03 15:44:57 +00:00
|
|
|
};
|
|
|
|
"CHECK_FOR_CONTROL" =
|
|
|
|
{
|
2005-06-08 10:22:59 +00:00
|
|
|
ENTER = ("setSpeedTo: 0.0", performTumble);
|
2008-08-03 15:44:57 +00:00
|
|
|
"TARGET_FOUND" = ("setStateTo: LOOK_FOR_TARGETS");
|
|
|
|
"NOTHING_FOUND" = (becomeUncontrolledThargon);
|
2010-09-16 20:13:01 +00:00
|
|
|
UPDATE = (thargonCheckMother, "pauseAI: 1.0");
|
2008-08-03 15:44:57 +00:00
|
|
|
};
|
|
|
|
"LOOK_FOR_TARGETS" =
|
|
|
|
{
|
2005-06-08 10:22:59 +00:00
|
|
|
ENTER = (scanForNonThargoid, "pauseAI: 1.0");
|
2012-05-02 20:08:54 +00:00
|
|
|
"CASCADE_WEAPON_DETECTED" = ("setAITo: respondQMineAI.plist");
|
2008-08-03 15:44:57 +00:00
|
|
|
"TARGET_FOUND" = (setTargetToFoundTarget, "setStateTo: ATTACK_SHIP");
|
2010-09-16 20:13:01 +00:00
|
|
|
"NOTHING_FOUND" = ("pauseAI: 10.0", "setStateTo: CHECK_FOR_CONTROL");
|
2012-05-03 20:34:19 +00:00
|
|
|
RESTARTED = ("setStateTo: CHECK_FOR_CONTROL");
|
2008-08-03 15:44:57 +00:00
|
|
|
};
|
|
|
|
}
|