Blend Swap
Pythonic Navigation and Alignment and unit selection
by Blend Swap
Last crawled date: 8 years, 7 months ago
This is to drive a RTS system in the bge, the code is commented out to make it easier to adapt to your own needs.Left click on friendly unit = select unit
Ctrl click on selected unit = removed from selection listCtrl + click on unit not in selected list = add to selected listLeft click on map = set navigation target in selected units
Ctrl click on selected unit = removed from selection listCtrl + click on unit not in selected list = add to selected listLeft click on map = set navigation target in selected units
