2005-04-19 19:53:18 +00:00
|
|
|
{
|
2005-06-08 10:22:59 +00:00
|
|
|
"FLY_HOME" = {
|
|
|
|
ENTER = (setCourseToPlanet, checkCourseToDestination);
|
|
|
|
"COURSE_OK" = ("setSpeedFactorTo: 1.0", performFlyToRangeFromDestination);
|
2006-06-23 16:10:55 +00:00
|
|
|
"WAYPOINT_SET" = ("setAITo: gotoWaypointAI.plist");
|
2006-03-05 16:26:25 +00:00
|
|
|
"APPROACHING_SURFACE" = (landOnPlanet);
|
2005-06-08 10:22:59 +00:00
|
|
|
"DESIRED_RANGE_ACHIEVED" = (landOnPlanet);
|
|
|
|
ATTACKED = (setTargetToPrimaryAggressor, broadcastDistressMessage, "setStateTo: FLEE");
|
|
|
|
"INCOMING_MISSILE" = (fightOrFleeMissile, "setStateTo: FLEE");
|
2006-06-23 16:10:55 +00:00
|
|
|
UPDATE = (setCourseToPlanet, "setDesiredRangeTo: 50.0", checkCourseToDestination, "pauseAI: 10.0");
|
|
|
|
EXIT = ();
|
2005-06-08 10:22:59 +00:00
|
|
|
};
|
|
|
|
GLOBAL = {ENTER = ("setSpeedFactorTo: 0.25", "setStateTo: FLY_HOME"); EXIT = (); UPDATE = (); };
|
2005-04-19 19:53:18 +00:00
|
|
|
}
|