This widget adds a new "Share Unit" command to all units. How it works:
Select units to share
Use "Share Unit" command
Target allied unit (or ground next to it)
Selected units will be shared to the ally
If targeting the ground it counts units in an area and picks the player with more units there. Intention is to make sharing units more handy - you can just click on allied base instead of finding the player on player list.
Test steps
[ ] Confirm that units are indeed shared to the target player
[ ] Confirm that targeting specific unit takes precedence over counting units in the area
Work done
This widget adds a new "Share Unit" command to all units. How it works:
If targeting the ground it counts units in an area and picks the player with more units there. Intention is to make sharing units more handy - you can just click on allied base instead of finding the player on player list.
Test steps
Screenshots:
BEFORE:
AFTER:
https://github.com/user-attachments/assets/883df043-023d-4978-bc04-76521e9910cb