ea0c50f8c1
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@610 127b21dd-08f5-0310-b4b7-95ae10353056
14 lines
688 B
Plaintext
14 lines
688 B
Plaintext
{
|
|
"FLY_HOME" = {
|
|
ENTER = (setCourseToPlanet, checkCourseToDestination);
|
|
"COURSE_OK" = ("setSpeedFactorTo: 1.0", performFlyToRangeFromDestination);
|
|
"WAYPOINT_SET" = ("setAITo: gotoWaypointAI.plist");
|
|
"APPROACHING_SURFACE" = (landOnPlanet);
|
|
"DESIRED_RANGE_ACHIEVED" = (landOnPlanet);
|
|
ATTACKED = (setTargetToPrimaryAggressor, broadcastDistressMessage, "setStateTo: FLEE");
|
|
"INCOMING_MISSILE" = (fightOrFleeMissile, "setStateTo: FLEE");
|
|
UPDATE = (setCourseToPlanet, "setDesiredRangeTo: 50.0", checkCourseToDestination, "pauseAI: 10.0");
|
|
EXIT = ();
|
|
};
|
|
GLOBAL = {ENTER = ("setSpeedFactorTo: 0.25", "setStateTo: FLY_HOME"); EXIT = (); UPDATE = (); };
|
|
} |