So I created a unit that has an ability that uses charges. Now i would like to create a pickup item that adds on 5 or 10 or whatever charges and would act like ammo. I am honestly 100% lost as to how to create this "ammo" or pickup that re charges the charge of the specific ability. I have already looked at the campaign mission were Raynor picks up ammo for explosives and the plasma gun but I was still unable to find what exactly made the pickup able to add charges. So any guidance will be much appreciated :)
So I created a unit that has an ability that uses charges. Now i would like to create a pickup item that adds on 5 or 10 or whatever charges and would act like ammo. I am honestly 100% lost as to how to create this "ammo" or pickup that re charges the charge of the specific ability. I have already looked at the campaign mission were Raynor picks up ammo for explosives and the plasma gun but I was still unable to find what exactly made the pickup able to add charges. So any guidance will be much appreciated :)
Use a Modify Unit effect like the vulture uses for spider mine charges
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