Basically what the title says. I want it so for each specific tower you have in play increases the mineral cost of an upgrade by X minerals and of course would increase any future build's of that tower by X minerals, that part is simple though, any idea's of going about this?
This is how i would do it, but there may be more efficient solutions:
on upgrade started, count the number of towers of the relevant type with the 'number of units in unit group,' "units in region" thing, region being whole map, and unit type being type of unit triggering upgrade.
the action would be to edit the cost of the upgrade ability using a catalog function, 'set field' with the appropriate parameters (not an expert in this area but i've done it before so i know thats how you should do it)
Basically what the title says. I want it so for each specific tower you have in play increases the mineral cost of an upgrade by X minerals and of course would increase any future build's of that tower by X minerals, that part is simple though, any idea's of going about this?
@kottonmouthx8: Go
i can imagine how it'd be done in triggers, but are you looking for a solely data-editor solution?
I cannot think of a pure data solution straight away. I would use triggers as well.
This is how i would do it, but there may be more efficient solutions:
on upgrade started, count the number of towers of the relevant type with the 'number of units in unit group,' "units in region" thing, region being whole map, and unit type being type of unit triggering upgrade.
the action would be to edit the cost of the upgrade ability using a catalog function, 'set field' with the appropriate parameters (not an expert in this area but i've done it before so i know thats how you should do it)
@peabrain13: Go
hmm alright thanks ill play around with it and see if i can figure it out.
All I can say is try catalogs. Although those are limited to the same fields that upgrades are.
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