• 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.

[General] A.I human workers' behaviors.

Status
Not open for further replies.
Level 28
Joined
Nov 25, 2021
Messages
507
Basically, I have a custom Human worker unit (let's call them New Worker). So when I tell my New Workers to build with JASS AI like this:

JASS:
call SetBuildUnitEx( 3,3,3, CUSTOM_BUILDING)

They'll usually finish the first one, start the second and third one and leave it there for a long while until another New Worker finished it, or just left it unfinished forever.

I tried with vanilla buildings, and it's basically the same thing. However, this problem will no longer occur if I use a vanilla Peasant or Worker (Blood Elf). I want to know how to make multiple human workers functional at the same time, just in case of a future map where there are multiple factions with multiple types of workers.

I can also create a custom New Worker specifically for A.I and swap the race to Orc or Undead to force them to finish their structures, but it can be quite unimmersive, if the player is also playing the same faction. In that case, is there a way for the player to not actively notice it?
 
Status
Not open for further replies.
Top