OpenSAGE icon indicating copy to clipboard operation
OpenSAGE copied to clipboard

only player objects should be drag-selectable in game mode

Open DaanMeijer opened this issue 5 years ago • 3 comments

Currently, all GameObjects seem to be selectable, including civilian buildings and trees. The game should only allow for the LocalPlayers objects to be selectable

DaanMeijer avatar Aug 15 '19 22:08 DaanMeijer

I think it should be noted that neutral structures and garrisonable structures need to be selectable.

Continous avatar Aug 16 '19 00:08 Continous

I agree, this is about drag selection. I'll update the title accordingly.

DaanMeijer avatar Aug 16 '19 07:08 DaanMeijer

I was going to take this one, but it looks like it was fixed a while back in https://github.com/OpenSAGE/OpenSAGE/pull/318

Tested locally and the behavior seems to be as expected - drag selecting does not allow selection of non-local-player-owned unit.

Potentially a separate issue, however - selecting or drag-selecting a single enemy unit should show the unit or structure's information in the bottom right corner (the little picture and upgrades screen, whatever that's called) regardless of the owner.

charliefoxtwo avatar Mar 03 '21 03:03 charliefoxtwo