e0a5d349c6
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@607 127b21dd-08f5-0310-b4b7-95ae10353056
22 lines
749 B
Plaintext
22 lines
749 B
Plaintext
{
|
|
"GO_TO_WAYPOINT" = {
|
|
ENTER = ();
|
|
"WAYPOINT_SET" = ("setStateTo: NEW_WAYPOINT");
|
|
"DESIRED_RANGE_ACHIEVED" = (exitAI);
|
|
ATTACKED = (exitAI);
|
|
"INCOMING_MISSILE" = (exitAI);
|
|
EXIT = ();
|
|
UPDATE = ("setSpeedFactorTo: 0.75", performFlyToRangeFromDestination, checkCourseToDestination);
|
|
};
|
|
"NEW_WAYPOINT" = {
|
|
ENTER = ("setSpeedFactorTo: 0.0", "setDesiredRangeTo: 50.0", checkCourseToDestination);
|
|
"WAYPOINT_SET" = ("setStateTo: NEW_WAYPOINT");
|
|
"COURSE_OK" = ("setStateTo: GO_TO_WAYPOINT");
|
|
"DESIRED_RANGE_ACHIEVED" = (exitAI);
|
|
ATTACKED = (exitAI);
|
|
"INCOMING_MISSILE" = (exitAI);
|
|
EXIT = ();
|
|
UPDATE = ();
|
|
};
|
|
GLOBAL = {ENTER = ("setStateTo: NEW_WAYPOINT"); EXIT = (); UPDATE = (); };
|
|
} |