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))
Finally finding about some of the bots that are flooding the users online - bytespider apparently is a huge offender here - ignores robots.txt and comes in from a ton of different IPs
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.