Zero-K
Zero-K copied to clipboard
[Draft] Force move rearming planes
Giving a plane on an airpad a move order will make all the planes on that airpad get off of it and it will be excluded to fix #3971 an issue I see with this is that people with the exclude airpad command hidden (as is the default) will have no idea how to unmark an excluded airpad. At the same time, the feature is kind of useless with airpad exclusion as planes will immediately try going back to it.
Also, changes in this mean that finally excluding an airpad with planes on it will make those planes leave.
One of the things that has to be done is turning this into a hidden command so it can be bindable, and also fixing the issue where strangely every plane on an airpad but the plane you gave the move order to will return to the pad, if you exclude an airpad with a plane currently on it but don't give it a move order it exhibits the same behaviour. I've tried everything from removing CMD_REARM from planes on the airpad to not setting an airpad as unreserved (Which will cause problems if it is not revert....) I've left them in for the time being so you can see what I've tried. Any help would be appreciated. Perhaps it has to do with the fact that the plane that receives the move order gets a double cancelairpadreservation?