So I've made a unit that has the ability to upgrade into a new unit, and this works out just fine. I then added a requirement that made it so you had to research an upgrade in order to continue upgrading that structure. The requirement and upgrade works just fine, but the problem is that you can research the upgrade multiple times when you should only be able to upgrade it once, and it does not disappear after upgrading it. The upgrade itself does not contain anything, but it disables the requirement when it is researched through the research ability. How do I make it so that the upgrade disappears after it is researched?
Add a requirement to the Research ability that uses the Show part. Also get the Use part to disable the button to prevent issue order effects and triggers getting it to research again.
Okay. I can make the upgrade not allowed through triggers while it is researching but what I'm really wondering is if I can do it through the database editor. I notice that upgrades like the Neo-Steel Bunker Upgrade is only researched once and disappears afterwards. Is this because it needs to have some effect in the upgrade itself?
So I've made a unit that has the ability to upgrade into a new unit, and this works out just fine. I then added a requirement that made it so you had to research an upgrade in order to continue upgrading that structure. The requirement and upgrade works just fine, but the problem is that you can research the upgrade multiple times when you should only be able to upgrade it once, and it does not disappear after upgrading it. The upgrade itself does not contain anything, but it disables the requirement when it is researched through the research ability. How do I make it so that the upgrade disappears after it is researched?
Add a requirement to the Research ability that uses the Show part. Also get the Use part to disable the button to prevent issue order effects and triggers getting it to research again.
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
@DrSuperEvil: Go
Okay. I can make the upgrade not allowed through triggers while it is researching but what I'm really wondering is if I can do it through the database editor. I notice that upgrades like the Neo-Steel Bunker Upgrade is only researched once and disappears afterwards. Is this because it needs to have some effect in the upgrade itself?
Read the last post, all is data.
The requirement that you place under the Research type ability hides the button and prevents use so even if it is hidden it cannot be activated.
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
@DrSuperEvil: Go
Oh I get it. I need one requirement on the unit it affects and another on the research ability. I get what you're saying now. Thanks!