Added Strike Eagle

This commit is contained in:
Pax1601
2023-10-10 15:18:19 +02:00
parent 0ce56e6529
commit af15fc123d
11 changed files with 19920 additions and 19565 deletions

View File

@@ -142,7 +142,12 @@ void AirUnit::AIloop()
/* State machine */
switch (state) {
case State::IDLE: {
setTask("Idle");
if (isTanker)
setTask("Tanker racetrack");
else if (isAWACS)
setTask("AWACS racetrack");
else
setTask("Idle");
if (!getHasTask())
{
@@ -291,6 +296,7 @@ void AirUnit::AIloop()
setState(State::IDLE);
}
}
break;
}
case State::BOMB_POINT: {
setTask("Bombing point");
@@ -304,6 +310,7 @@ void AirUnit::AIloop()
scheduler->appendCommand(command);
setHasTask(true);
}
break;
}
case State::CARPET_BOMB: {
setTask("Carpet bombing");