View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019181 | AI War 2 | Gameplay Issue | Jun 20, 2017 8:53 am | Jun 21, 2017 12:13 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.401 Ship Batch 6 of 7, And Gimbal Perfoooormance! | ||||
Fixed in Version | 0.450 Sound! | ||||
Summary | 0019181: Hitting B selects additional build units | ||||
Description | So my understanding is that hitting the B button should select a new unit capable of building. For example, if I have my Ark, a planetary controller and a flagship, hitting B might select my ark. Then hitting B again should change the selection to the Controller. Then hitting B a third time would move it to the flagship. What happens though is that it selects a new unit that can build things In Addition To the old one. Here is a picture after I hit B the second time. Instead of selecting only the Ark, or only the Controller, it has selected both. Also note that there is no Build menu I can even click on here. | ||||
Tags | No tags attached. | ||||
|
|
|
I believe this is due to an incorrect if statement in Input_MainHandler.cs: GameEntity currentBuilder = null; if ( Engine_AIW2.Instance.GetHasSelection() ) { currentBuilder = Window_InGameBuildMenu.GetEntityToUseForBuildMenu(); if ( currentBuilder == null ) <======== This should be "!=", not "==" Engine_AIW2.Instance.ClearSelection(); } Once I changed this and recompiled I got the behaviour I expected. |
|
Thank you again! You freaking rock!! :D |
Date Modified | Username | Field | Change |
---|---|---|---|
Jun 20, 2017 8:53 am | BadgerBadger | New Issue | |
Jun 20, 2017 8:53 am | BadgerBadger | File Added: both_selected.png | |
Jun 20, 2017 9:02 am | BadgerBadger | Note Added: 0046330 | |
Jun 20, 2017 9:44 am | BadgerBadger | Description Updated | |
Jun 21, 2017 12:13 pm | Chris_McElligottPark | Note Added: 0046335 | |
Jun 21, 2017 12:13 pm | Chris_McElligottPark | Status | new => resolved |
Jun 21, 2017 12:13 pm | Chris_McElligottPark | Fixed in Version | => 0.450 Sound! |
Jun 21, 2017 12:13 pm | Chris_McElligottPark | Resolution | open => fixed |
Jun 21, 2017 12:13 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |