Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I can't find the way to do that. I've tried to use: Unit - Remove but it can only remove a certain unit, and unit group - remove only removes an unit group. How can i remove units on a X region from the game?
Unit Group - Pick every unit in YourGroup and do (Unit - Remove (Picked unit) from the game)
Custom script: call DestroyGroup(udg_YourGroup)
To clarify,
YourGroup is a UnitGroup Variable.
You then set that UnitGroup variable to 'Units in a RegionX'.
Use the Unit Group action to pick every unit in YourGroup (the Variable you just set) and then remove picked unit from the game.
Since you set YourGroup to units in RegionX, it will remove any unit in RegionX from the game.
Then you use the custom script to destroy the group to clear the memory leak.
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.