Easy mouse targeting widget
Posted: 17 Mar 2015, 20:38
This widget makes it easier to target a single stationary or moving unit with Attack, Reclaim, Capture, Repair and Load commands.
It overrides the default area commands when the mouse cursor is on top of the same unit during both mouse button press and mouse button release.
Flying units in particular are hard to target with the default area commands. Trying to repair a gunship is a particularly frustrating as any movement of the mouse will result in an area command which by default will be a ground level sphere which most likely will be out of range of the intended target.
There might be some conflicts with other widgets. So feel free to tell me any about any bugs and feel free to review the code. :)
It overrides the default area commands when the mouse cursor is on top of the same unit during both mouse button press and mouse button release.
Flying units in particular are hard to target with the default area commands. Trying to repair a gunship is a particularly frustrating as any movement of the mouse will result in an area command which by default will be a ground level sphere which most likely will be out of range of the intended target.
There might be some conflicts with other widgets. So feel free to tell me any about any bugs and feel free to review the code. :)