Fixed! - Improper building selection functionality
by Novack · in RTS Starter Kit · 10/01/2007 (3:51 pm) · 0 replies
Priority: Low
Category: Improper functionality in all configurations
Reproducable: Yes
Summary: The buildings are not selected with a single click unless something else is already selected
Notes: Sorry for the multiple threads about inputHandler.cs, if I had known, I would open one thread with all fixes. This way is more clean anyway.
Fix: In starter.RTS\client\scripts\inputHandler.cs on the GuiRTSTSCtrl::onMouseDownBuilding function (somewhere around line 110):
Category: Improper functionality in all configurations
Reproducable: Yes
Summary: The buildings are not selected with a single click unless something else is already selected
Notes: Sorry for the multiple threads about inputHandler.cs, if I had known, I would open one thread with all fixes. This way is more clean anyway.
Fix: In starter.RTS\client\scripts\inputHandler.cs on the GuiRTSTSCtrl::onMouseDownBuilding function (somewhere around line 110):
case "None":
[b] //if(%this.getSelectionSize()) // just comment this line![/b]
%this.selectBuilding(%building);About the author
http://cyberiansoftware.com.ar/