AirportBound
| Flag: | AirportBound |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Applicable to: | AircraftTypes |
This flag determines whether the attached AircraftType needs to dock with its associated structure after completing a mission. This structure will usually have Helipad=yes.
Notes
With this set to yes, an AircraftType cannot land anywhere but at a structure listed in their Dock tag. If the only or last structure that the AircraftType is capable of landing at is destroyed, then the AircraftType will crash and be destroyed.
Any air unit that needs to dock at an 'Airport' needs to be listed in the PadAircraft list, otherwise the game will experience problems when constructing units from that structure.
Bugs/Side-Effects/Unexpected Limitations
Setting AirportBound=no may causes the aircraft to remember the target from the last issued attack and move commands. Even if a Stop command is given, it cannot interrupt the attack behavior or make the aircraft fall prematurely from the current cell without proceeding to the target cell.