AI stops working after certain actions

Status
Not open for further replies.
Level 12
Joined
Mar 22, 2023
Messages
85
The AI of the undead is working - a cutscene occurs (there is a pause in it, units are hidden, all animations are played). The cutscene ends and the AI finishes the units in the barracks and stops doing anything at all (attacking, creating new units). Any ideas on how to fix this?
 
The AI of the undead is working - a cutscene occurs (there is a pause in it, units are hidden, all animations are played). The cutscene ends and the AI finishes the units in the barracks and stops doing anything at all (attacking, creating new units). Any ideas on how to fix this?
Do you use the actions Pause All Units or Unpause All units? If you Unpause All Units without first pausing them, it can cause AI scripts to break.
 
Nah just using Pause All Units and then Unpause All Units is fine, the AI works ok with that. It only breaks if you just use Unpause All Units without first using Pause All Units.

The only alternative is that there's a mistake in the script causing it not to run further, or the AI doesn't have the resources/tech to build what's is required next.
 
Status
Not open for further replies.
Top