So, im making this map where you have a select amount of units and you can upgrade units to the stronger type of that unit. I do have a problem.
What i want to do is the change the button on the command card with another button (the button is in the same spot, but considered the second button).
In the picture you can see i have my marine starting on the command card. When i click an upgrade (which will be on the bottom of the command card), i want to switch the "Train Marine" with "Train War Pig".
Is there any way of doing this? If it involves triggers or doesnt need to be on the command card at all, id still like to know. I just want a solution on how to fix this, as this is really the main problem im having. BTW all command card submenus are full, so i cannot make the "Train War Pig" button on another comands card.
Add a requirement to the ability and fill in the requirement's show area with conditions when a button should be displayed or not.
That should check for the completion of your upgrade.
Have a look at e.g. infantry weapon upgrades. It has multiple buttons on one spot, too, and requirements control when the other buttons are shown/hidden.
So, im making this map where you have a select amount of units and you can upgrade units to the stronger type of that unit. I do have a problem.
What i want to do is the change the button on the command card with another button (the button is in the same spot, but considered the second button).
In the picture you can see i have my marine starting on the command card. When i click an upgrade (which will be on the bottom of the command card), i want to switch the "Train Marine" with "Train War Pig".
Is there any way of doing this? If it involves triggers or doesnt need to be on the command card at all, id still like to know. I just want a solution on how to fix this, as this is really the main problem im having. BTW all command card submenus are full, so i cannot make the "Train War Pig" button on another comands card.
Any help would be greatly appreciated. Thanks
-SilentDoom
Add a requirement to the ability and fill in the requirement's show area with conditions when a button should be displayed or not.
That should check for the completion of your upgrade.
Have a look at e.g. infantry weapon upgrades. It has multiple buttons on one spot, too, and requirements control when the other buttons are shown/hidden.
Thank you very much, ill try it. Any problems and ill post em back
Since im kinda bad with the data, im going to need some help. How do i set a requirement up for the ability?
So i make a button for the upgrade, the upgrade and an ability?
And a requirement from the Requirements data type.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg