Topic
Ai - Global Suicide
|
In a map I am currently developing, I have zerglings spawn in the outer regions of the map. I need these zerglings to attack the "survivors" in the center of the map. Here is the main problem. I use the Global Suicide function to have them attack and it works great, sometimes. I have noticed that with this function, the Ai does not attack units, but rather buildings (It will attack units in the way of the buildings). After lots of testing I noticed that this is because, in a default melee game, the game is finished when all buildings are destroyed. So in my game, when there are simply only units in the center, the Ai will not target them. How can I fix this issue? Is there a flag I need to check in the data editor? I have tried many other attack possibilities such as:
If someone could help me figure out a solution that will give me the same effects as the Global Suicide will, that would be great! I will praise them, and even add a special recognition of them in the game as a reward! |
|
Sorry I can't really help you on that but.. can you post how you have your Global suicide trigger set up? I cant get mine to work at all so Id appreciate it if you can thanks :)
|
|
It takes several steps to get it set up. You need to initialize a computer ai and set its apm and difficulty using the ai triggers. Then I spawned the units and had a trigger run after everything I wanted spawned that picked all units of player 15 (the hostile units), and enabled suicide for that unit. That seemed to work best for me. If you enable the global suicide in generally resulted in several bugs that caused problems. So the work around was simple enabling it for each unit seperately. Let me know if you need help and feel free to add me on Starcraft. Storm#422
|
|
Ok here is what you need to do.
Note: You cannot use player 0 or player 15. 1. Make an action that starts the Campaign AI for the computer player. 2. Then after that you can use the scucide functions. I perfer the enable/disable scuicide as if you need to reissue it doing it for 100+ units like WW2 Diplo can cause the AI to memory leak hard. The same thing. |



