🏆 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!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
hello, trying to add a trigger that detects a players total research/upgrade count in order to restrict the use of endgame units until the player reaches a total of 25 researches, any assistance is much appreciated.
This should work. The first trigger increments an int variable TotalResearches by 1 each time a player researches. The array number corresponds to the player number so that each player gets its own counter.
The second trigger checks to see if the TotalResearches for that player is less than 25 when a unit begins training another unit. If it is, it cancels the trained unit. If you are using sell instead of train you would need to modify it to 'sells a unit'
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.