Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Find alternative landing spots for blocked reinforcements #13785
Not tested but i think what this does to move the unit below the carryall. I'm not sure if that's really what we would want to do, it is not the behaviour in vanilla game and only works if blocking actor is mobile, not for structures for example. Carryall should change its drop location if it is blocked.
Alternatively, i think you can get a lua value to select which behaviour to use. Not sure which should be default tho.
You could block carryall with units in original tho, making carryall take back off(or not land at all if it was already blocked) and go to another cell. I would prefer that behaviour to apply OpenRA too. You could technically do that infinitely and make carryall fail to place its units.
Pchote's idea isn't bad either. I actually would be happy with anything that fixes this annoying bug. But for both mobile and immobile actors.
referenced this pull request
Aug 8, 2017
changed the title from
Notify blocking actors from Reinforcements.ReinforceWithTransport
Find alternative landing spots for blocked reinforcements
Aug 8, 2017
LGTM. Verified fix with both Atreides04 and a modified version of nod04b. Just one perf request and then feel free to merge directly.