🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
I mean to make my custom ability only work once and after that only that player can't use it anymore. I can't find any other similar question around the forum...
The simplest one might be to just disable the abillity (or remove from the unit) once it is used (with triggers).
If you were looking to have a visual indicator of only 1 charge, then maybe you can use the Huntress's Sentinel ability?
In addition to (or instead of) that, you can also add a dummy unit called "You have already used this ability" as a requirement to the ability. Place it somewhere in the map and remove it once the ability has been used. This makes the icon appear disabled, with indication why you can't use the ability anymore.
The simplest one might be to just disable the abillity (or remove from the unit) once it is used (with triggers).
If you were looking to have a visual indicator of only 1 charge, then maybe you can use the Huntress's Sentinel ability?
In addition to (or instead of) that, you can also add a dummy unit called "You have already used this ability" as a requirement to the ability. Place it somewhere in the map and remove it once the ability has been used. This makes the icon appear disabled, with indication why you can't use the ability anymore.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.