I want to create a spell where the caster shoots out 9 projectiles at nearby units. The targets of the projectiles is random. I created a spell through triggering but it removes the caster as well without shooting out 9 projectiles. I checked and I did not put any trigger that would add the caster to the unit group that I used.
I created 9 units at position of the caster, then for the 9 units to attack nearby targets at random, I gave the dummy units an attack that would gurantee that they attack only once. However, the spell I made did not turn out as such. Instead, the caster got removed.
I added the 9 units to a group by using Adding Last created units to unit group. Thus I am wondering whether that is possible.
If anyone can understand what I'm trying to do and get across to people who can help, please explain how to create this spell through GUI preferbly. Otherwise you can give me an idea on how to do it.
I created 9 units at position of the caster, then for the 9 units to attack nearby targets at random, I gave the dummy units an attack that would gurantee that they attack only once. However, the spell I made did not turn out as such. Instead, the caster got removed.
I added the 9 units to a group by using Adding Last created units to unit group. Thus I am wondering whether that is possible.
If anyone can understand what I'm trying to do and get across to people who can help, please explain how to create this spell through GUI preferbly. Otherwise you can give me an idea on how to do it.