Topic: retreat button on military buildings

Ron_of_Nord
Avatar
Topic Opener
Joined: 2024-04-20, 23:43 UTC+2.0
Posts: 181
OS: Windows
Version: 1.3
Ranking
Widelands-Forum-Junkie
Location: Land_down_under
Posted at: Today 06:08 UTC+2.0

I've searched the forums here and the issues at codeberg but didn't find what I was thinking. Is it possible to add a retreat button to military buildings so that soldiers that are attacking from that building break off their attack and return to the building.
Does anybody know if this could be coded as an add-on or would this have to be
hardcoded into the game, my Lua skills aren't yet up to it.
I ask this because if you attack someone with too large a number of soldiers , most of them just stand around, especially if there is a choke point

Thoughts, anyone...

Edited: Today 06:11 UTC+2.0

The aussies are coming, ya ho! ya ho!

Top Quote
Ron_of_Nord
Avatar
Topic Opener
Joined: 2024-04-20, 23:43 UTC+2.0
Posts: 181
OS: Windows
Version: 1.3
Ranking
Widelands-Forum-Junkie
Location: Land_down_under
Posted at: Today 06:13 UTC+2.0

This would also help if you came under attack and needed to get soldiers back


The aussies are coming, ya ho! ya ho!

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07 UTC+1.0
Posts: 2138
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: Today 09:15 UTC+2.0

This would have to be hardcoded.

The idea sounds interesting; it would open up new military tactics and strategies for attacking, as opposed to the current one-shot approach. However this would also mean yet more focus on military tactics and strengthen attackers, therefore a cautious -½ from me.


Top Quote