Center a ground-only location on the dropship. If there is at least one ground unit owned by the player in the location, and no beacon, order all units in the location to enter the nearest transport. No need to center locations on beacons or cycle through them at all.
Unfortunately, that wouldn't satisfy the criterion that the dropships should only be able to move back and forth among beacons.
Yeah, Basically there are 4 problems/criteria:
1. Dropships should only be able to load/unload at the beacons.
2. Dropships should only be able to move among beacons (i.e., if they are not over a beacon, they should either be moving to one or they should be prevented from load/unload).
3. More than 1 dropship can be in flight at a time. (not as important, might be 100x harder this way)
4. Theoretically infinite beacons and dropships must be possible.
Aristocract nearly solved prob1, but in that solution, if the dropship happens to fly over some units, they will be loaded (if there's room).
For Prob2, I'm leaning towards temporarily giving the dropship to a neutral player, because that would solve Prob1 at the same time. The problem is, if I command the dropship to move, it's not necessary moving towards another beacon. Hence Foxwolf's thing, which seems a little tedious but I'm not sure. Some kind of civilian selector system is probably inevitable.
A new idea has just struck me. How about, dropships are always owned by the neutral player, and all ground units walking onto the beacon are given to the neutral player and then the scrip is run to load them into the dropship. Then use some kind of selector system, maybe with an observer, to command where to move the dropship. But then it would have to unload the units, whcih would end up right on top of the beacon, and then get loaded again... I liked this, tho, cuz I wouldn't have to cycle around all beacons.
Or, maybe an opposite extreme. Dropships and units are normally owned by u, and loaded manually. But then use a selector system to move dropships around, temporarily giving them to a neutral player. But then how would I make it so that ur dropships dont move on their own?
Post has been edited 1 time(s), last time on Nov 26 2010, 9:33 pm by DrZygote214.
None.