The locust ability is fun and all, but it also makes things alot more complicated in the GUI. I don't know if the same problem also exists in JASS or anything else, but i am quite sure it does.
Now this is the scenario:
There is this building (Lets say its a Lumber mill) when you build it, it spawns a couple of units (peasants) wich automaticly gather wood for you. I dont want those units to be used for anything else except gathering wood so i gave them the ability locust.
Everything is working so far, except for this:
Once the Lumber mill dies the gathering peasants will still be there and they cant gather wood because the mill is destroyed. So the peasants must also die when the Lumber mill dies. But the Peasants won't respond to;( Pick every unit within Range of Lumber mill ) because they cannot be picked with the ability Locust on them. I haven't found any other solution on the problem then a solution with that triggerin part in it.
If anyone could find an alternative solution for this problem, or can fix the problem i have with the ( Pick every unit within Range of Lumber mill ) i would appreciate it.
Now this is the scenario:
There is this building (Lets say its a Lumber mill) when you build it, it spawns a couple of units (peasants) wich automaticly gather wood for you. I dont want those units to be used for anything else except gathering wood so i gave them the ability locust.
Everything is working so far, except for this:
Once the Lumber mill dies the gathering peasants will still be there and they cant gather wood because the mill is destroyed. So the peasants must also die when the Lumber mill dies. But the Peasants won't respond to;( Pick every unit within Range of Lumber mill ) because they cannot be picked with the ability Locust on them. I haven't found any other solution on the problem then a solution with that triggerin part in it.
If anyone could find an alternative solution for this problem, or can fix the problem i have with the ( Pick every unit within Range of Lumber mill ) i would appreciate it.