Hello everyone, I want two Ai players executing the Zerg Expansion Custom Level script to transfer all units to another Ai player every 10 minutes, and then this Ai player will execute the Send All Units on Strategic Suicide Missions script. It worked the first time, but the Suicide Missions script didn't take effect the second time. It seems that the Ai script cannot be executed repeatedly. Is there any solution
I don't speak English, so I used a translation software. Please forgive any grammatical errors
None.
Strategic Suicide has a timer for each player that prevents it from being run again until it has elapsed. If the player isn't running a town or areatown script, that timer will not count down.
If you make your computer player run a town or areatown script, you will be able to run Strategic Suicide again after around 1536 frames (roughly 65 seconds real time at fastest game speed) while the elapsed game time is below 4500 seconds. After that, you can only run it once around every 7296 frames (roughly 306 seconds at fastest).
Note that if a computer player doesn't have any units on the map, its town script will end.
Strategic Suicide has a timer for each player that prevents it from being run again until it has elapsed. If the player isn't running a town or areatown script, that timer will not count down.
If you make your computer player run a town or areatown script, you will be able to run Strategic Suicide again after around 1536 frames (roughly 65 seconds real time at fastest game speed) while the elapsed game time is below 4500 seconds. After that, you can only run it once around every 7296 frames (roughly 306 seconds at fastest).
Note that if a computer player doesn't have any units on the map, its town script will end.
I understand, thank you for your help!
None.