🏆 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!
I want to make a circle of power which is counting, that how much units have entered in it, and when this value is equeal to x do some actions. How can I make it the easiest way?
You could use an integer variable and Unit Enters Region event. Increase the variable per enter, then on a certain amount, pick all units and remove them from game.
If the circle of power is made with triggers, or trained than you can
1.loop every X secs and check if units are in range of the circle
2. move region on the position of the circle and check if units enter in the region
then set integer variable = integer variable + 1 (arithmetics) or if you want to remvoe them, yeah, remove them! ;D
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.