I'm trying to make an ability based on explosive charges and detonation. I have two abilities, one which summons the explosive charges, and one which detonates the charges. I want there to be a total of 3 charges, and I don't want the charges to recharge until the already placed explosives are detonated. If you for example summon 2 explosives, I don't want them to recharge (up to 3) before they are detonated. I have however not been able to control the recharging of the summon ability the way I want. I have tried with both triggers and the data editor, but it never turns out the way I want it. I have tried using a trigger to control the max number of charges on the ability, but that has just been a big mess. Maybe there could be a behavior that enables recharging of charges or something?
Any ideas on how to do this? Are there any abilities in the game I can use for reference?
@larsolae: Go You can apply a behavior on the caster of each placed charge, and the charges remove it when they are detonated. This way you can keep track of the charges and only allow recharging when the behaviors are gone.
I would use a behaviour to add the charges similar to spider mines and disable that with the above method.
The created unit applying a buff back to the caster allows you to detonate them using a periodic effect that looks for a buff applied by the detonate ability.
Hi.
I'm trying to make an ability based on explosive charges and detonation. I have two abilities, one which summons the explosive charges, and one which detonates the charges. I want there to be a total of 3 charges, and I don't want the charges to recharge until the already placed explosives are detonated. If you for example summon 2 explosives, I don't want them to recharge (up to 3) before they are detonated. I have however not been able to control the recharging of the summon ability the way I want. I have tried with both triggers and the data editor, but it never turns out the way I want it. I have tried using a trigger to control the max number of charges on the ability, but that has just been a big mess. Maybe there could be a behavior that enables recharging of charges or something?
Any ideas on how to do this? Are there any abilities in the game I can use for reference?
@larsolae: Go You can apply a behavior on the caster of each placed charge, and the charges remove it when they are detonated. This way you can keep track of the charges and only allow recharging when the behaviors are gone.
I would use a behaviour to add the charges similar to spider mines and disable that with the above method.
The created unit applying a buff back to the caster allows you to detonate them using a periodic effect that looks for a buff applied by the detonate ability.
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