2006-07-01 16:36:35 +00:00
|
|
|
{
|
2008-08-03 15:44:57 +00:00
|
|
|
GLOBAL =
|
|
|
|
{
|
|
|
|
ENTER = ("setSpeedFactorTo: 0.5", "targetFirstBeaconWithCode: tr");
|
|
|
|
"TARGET_FOUND" =
|
|
|
|
(
|
2006-07-01 16:36:35 +00:00
|
|
|
setDestinationToTarget,
|
|
|
|
"setSpeedFactorTo: 1.0",
|
|
|
|
"setDesiredRangeTo: 5000",
|
|
|
|
performFlyToRangeFromDestination
|
|
|
|
);
|
2008-08-03 15:44:57 +00:00
|
|
|
"DESIRED_RANGE_ACHIEVED" = ("setStateTo: PASS_THRU_RING");
|
2006-07-01 16:36:35 +00:00
|
|
|
"NOTHING_FOUND" = (exitAI);
|
2008-08-03 15:44:57 +00:00
|
|
|
};
|
|
|
|
"PASS_THRU_RING" =
|
|
|
|
{
|
|
|
|
ENTER =
|
|
|
|
(
|
|
|
|
// "setSpeedFactorTo: 0.60",
|
2006-07-05 13:21:20 +00:00
|
|
|
"setSpeedTo: 225",
|
2006-07-01 16:36:35 +00:00
|
|
|
setRacepointsFromTarget,
|
|
|
|
performFlyRacepoints
|
|
|
|
);
|
2008-08-03 15:44:57 +00:00
|
|
|
"ENDPOINT_REACHED" = ("setStateTo: NEXT_RING");
|
|
|
|
};
|
|
|
|
"NEXT_RING" =
|
|
|
|
{
|
|
|
|
ENTER = ("setSpeedFactorTo: 0.0", "targetNextBeaconWithCode: tr");
|
|
|
|
"TARGET_FOUND" = ("setStateTo: PASS_THRU_RING");
|
2006-07-01 16:36:35 +00:00
|
|
|
"LAST_BEACON" = (exitAI);
|
2008-08-03 15:44:57 +00:00
|
|
|
};
|
|
|
|
}
|