Author Topic: RTS UI Issue  (Read 760 times)


  • Full Member
  • ***
  • Posts: 150
    • View Profile
RTS UI Issue
« on: July 21, 2018, 05:35:36 AM »
Hey guys,

I ran into an issue I'm not quite sure how to work around and was hoping for some help or guidance with this issue.

I'm trying to make a RTS UI where the player can select the unit and their stats/picture/skill buttons all appear on the UI.  I have this working but I'm running into the issue of having multiple different type of units selected.  What I want to make is when the player selects multiple different units, that units icon appears in place of their picture on the UI along with any other different type of unit selected.  This allows you to switch between the different groups while still having them all selected.

Problem is I'm not quite sure how to do it efficiently. I'm currently making preset buttons that just activate/deactivate accordingly to the selection but that is just a work around. What I want is to make an array and use that to fill in the UI as you select more units.

Any help would be greatly appreciated.



  • Sr. Member
  • ****
  • Posts: 456
    • View Profile
Re: RTS UI Issue
« Reply #1 on: July 21, 2018, 08:46:24 AM »
if you set an array, just take the Int ID and reuse it on your menu to define wich unit to apply