beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.8k stars 300 forks source link

Feature: Share Unit To Target command #3927

Closed przystuj closed 1 week ago

przystuj commented 1 week ago

Work done

This widget adds a new "Share Unit" command to all units. How it works:

  1. Select units to share
  2. Use "Share Unit" command
  3. Target allied unit (or ground next to it)
  4. 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

Screenshots:

BEFORE:

before

AFTER:

after

https://github.com/user-attachments/assets/883df043-023d-4978-bc04-76521e9910cb