Opened 8 years ago

Last modified 2 years ago

#4040 new defect

Control-all cheat should select all units — at Initial Version

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – In-game Keywords: simple
Cc: Patch:

Description

Once the option from the developer overlay to control all units is toggled, the selection lasso should include entities of all players and gaia, not only the viewed player. Relevant code: the calls to PickPlayerEntitiesInRect in input.js.

A new scriptfunction PickAllEntitiesInRect is probably required. Notice it should check whether the entities are visible for the currently viewed player.

Furthermore the related code in ScriptFunctions.js should be cleaned, i.e. moved to Selection.cpp, perhaps CCmpRangeManager.cpp and shouldn't iterate through players anymore but just use the ownership mask for the desired players.

Change History (0)

Note: See TracTickets for help on using tickets.