Hey, just wondering if anyone knows of any good ways of going about implementing an upgrade panel that adds modifiers to provinces in a strategy game? I have a bunch of provinces and I want the upgrade menu to show up when I right click one, the upgrade menu has a bunch of buttons that would add a modifier to the province. Simple stuff so far but I can’t think of a neat way of getting the upgrade panel to modify specifically the province that has been selected and I don’t want 70+ unique upgrade panel objects for each province if I don’t have to have that. Thanks for reading!

Hi @Neon_Apollo, one solution would be to have a currentProvince variable in a controller script. On right click, you can update that variable to the clicked province. The functions you would call from the menu would just apply the selection to the current province. This way you could also change the menu based on what modifiers the currentProvince already has as well (activating a checkmark next to those menu options or graying them out, for example). Hope that helps!