I want to add charges on a train ability by clicking on a button for example. So I look for the mine ability of the vulture as mentionned on this post. It's a Specialize ability which apply a modify Unit Effect and this effect is supposed to add 1 charge on the train ability. (Initially set to 0 with a max Count). But nothing happened when clicking the button to add charges.
What is the problem with this ? (The test map is attached below)
A list of those it works and does not work for would be nice. Maybe it is linked to what the Ability type item can/cannot use? Since that bugs with all but Effect - Instant and Effect - Target abilities.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I've been trying to experiment so that I can add charges to a reload ability for some units of mine. The reload ability works fine with its charges, etc.
I used your suggestion of using the vulture spider mine replenish effect by creating a new one with all the same fields - changed when necessary so it is applied to the reload ability. It didn't work.
Then I placed a few vultures and used a trigger to have the replenish mines upgrade enabled. The replenish mines ability would queue and take resources, but it wouldn't actually replenish mines.
I want to add charges on a train ability by clicking on a button for example. So I look for the mine ability of the vulture as mentionned on this post. It's a Specialize ability which apply a modify Unit Effect and this effect is supposed to add 1 charge on the train ability. (Initially set to 0 with a max Count). But nothing happened when clicking the button to add charges.
What is the problem with this ? (The test map is attached below)
The Target: Impact Unit - Value field I would say as a rough guess.
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
In fact I just duplicate the Vulture - Make Spider Mine ability and I don't change that field. Maybe we can't do this with the training ability.
So you got it to work for other ability types?
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
That works for an effect target abilities for example.
A list of those it works and does not work for would be nice. Maybe it is linked to what the Ability type item can/cannot use? Since that bugs with all but Effect - Instant and Effect - Target abilities.
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
I've been trying to experiment so that I can add charges to a reload ability for some units of mine. The reload ability works fine with its charges, etc.
I used your suggestion of using the vulture spider mine replenish effect by creating a new one with all the same fields - changed when necessary so it is applied to the reload ability. It didn't work.
Then I placed a few vultures and used a trigger to have the replenish mines upgrade enabled. The replenish mines ability would queue and take resources, but it wouldn't actually replenish mines.
Aha! I did a bit more searching and found that after some SC update the
"Cost: Cost - Fraction - Charge"
must be set to "0" for restoration to work - in the replenish mines ability it was set to "1." Charge subtraction will work wether it's set to 1 or 0.