I'm gonna use that! Thanks Chaosy.Dummy units all have the "Locust" ability, if the level of locust for picked unit is greater than 0 it's a dummy.
Nope, and that's exactly why I'm asking this. I'm making a spell that counts number of allies nearby and if there are allies in the spell's aoe the spell heals allies and damages enemies by half the spell's damage, but if there are only enemies near the caster, they will take full damage. By doing that, I noticed that casting this spell after casting another spell that creates a dummy causes the spell to do both the heal and damage effects even though there were no ally units nearby.I thought it ignored units with locust by default? Usually people ask for the opposite instead because of this.
Well that's weird.
https://www.google.se/search?q=warc...rome..69i57.8135j0j1&sourceid=chrome&ie=UTF-8
Some random examples lol:
"Hi, is there a way for picking all the units in the unit group, including those with the ability locust?
When I, for example, pick all the units in radius around my hero, or all the units in a certain region, the units with locust ability are left unpicked... Which is awesome in most cases, but not in this one :C"
"Hey ive done this a while ago in my old map. I have no idea why it worked then. But now im trying it again in a new map and it doesent work. Ive read in other threads that its not possible to add a unit with locust to a unit group, but its weird that in the map i attached it does work?
Attached Files"
"How to add a locust to a unit group?
I've searched the forums in 75 topics and found nothing on this:
How do I add a locust unit into a unit group?"
So now I'm really curious actually...
Are you sure of that? Because that's exactly the opposite of what happened to me. My dummy unit was picked and the second spell counted it. I was using 'Pick Units in Range'.Units in region and range DO NOT pick locust units. On the other hand Units of player and units of type DO pick locust units.
Ironically, I set the dummy unit's movement speed to 0 as well! Maybe that was the problem?Bribe made a thread about some bug he found when moderating a spell. I didn't read it thoroughly, so I'm not sure what the exact context is.