• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] AI freezing up sometimes

Status
Not open for further replies.
Level 3
Joined
Jul 28, 2012
Messages
31
So get this, I am running a melee map style game, where an AI is set to have different units than the players. The AI works, in every mine I've placed, it works. However, sometimes the AI just decides not to build or harvest it's resources. It just creates the units until it no longer wants to build. And from there on, it basically does nothing.

It happens every 1/10 times. It's really annoying me in the fact that when I try to go up against more than 1, it just doesn't work, and the ai doesn't do anything.

Does this happen normally to anyone else? Or is it just me? XD
Anyone got any ideas?
 
Level 3
Joined
Jul 28, 2012
Messages
31
This is the trigger, and I forgot to mention that it runs on custom units.
It's not supposed to mine gold either, could that be the problem?
 

Attachments

  • TriggerFalw.JPG
    TriggerFalw.JPG
    119.3 KB · Views: 117
Level 6
Joined
Mar 30, 2014
Messages
230
theres. nothing wrong on your triggers is your AI script maybe theres a bad condition/order which i mean you created the AI script and you set which to build first and as you can see the AI stop harvesting gold and lumber right? theres something wrong on your AI script condition. maybe you can post the AI script (which is place in the AI editor) screenshot here. to take a good look in your scripting code.
 
Status
Not open for further replies.
Top