what does that have to do with limiting amount of units into unit group?
Set unitgroupVar = units owned by enemy of (owner of your unit)/(your player)
Set integerVar = random integer between 10 and 15
For loop integer A from 1 to integerVar do
set unitVar = random unit from unitgroupVar
remove unitVar from unitgroupVar
remove unitVar from game
call DestroyGroup(udg_unitgroupVar)
since im still new i didnt know how to select multi unit at once and thought unit groups was the anwser. the spell is going to be a recall spell that removes a random selection of units from the enemy off the playing field.
the spell when casted (gonna use a dummy spell) will cause 10-15 enemy units to dissappear from the playing field. (before it removed the units a beam of light will show on them then after they dissappear the beam of light dissappears
Event - Unit starts the effect of ability
Condition - Ability cast = your ability
Then
Set unitgroupVar = units owned by enemy of (owner of your unit)/(your player)
Set integerVar = random integer between 10 and 15
For loop integer A from 1 to integerVar do
set unitVar = random unit from unitgroupVar
set pointVar = position of unitVar
Create special effect at pointVar
Destroy last created special effect
call RemoveLocation(udg_pointVar)
remove unitVar from unitgroupVar
remove unitVar from game
call DestroyGroup(udg_unitgroupVar)
It's custom script. Copy "call RemoveLocation(udg_pointVar)" and "call DestroyGroup(udg_unitgroupVar) " paste it separately into the custom script line.
Trigger:
Trigger
Events
Conditions
Actions
Set unitgroupVar = (Units in (Playable map area) matching (((Matching unit) belongs to an enemy of (Owner of (Your unit))) Equal to True))
Set unitgroupVar = (Units in (Playable map area) matching (((Matching unit) belongs to an enemy of (Your player)) Equal to True))
Reddit, Slack, Google, Facebook, Instagram — these companies use our data — directly or indirectly — to train the next generation of AI language models. Yet, I don’t remember anyone asking our permission, and in doing so, these companies have proven the adage that customers’ data is their main...
Our new website went up early yesterday. Health Empowers You. 200 smoothie recipe guide and soon we will have detox, cognitive enhancement, weightloss teas and some coffee blends. https://healthempowersyou.net/products/smoothie-recipe-guide
It never fails that as soon as I say something about the bots they come back - this time they are under a whole new IP range - one thing in common though, Chinese!