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

Custom Computer Race

Status
Not open for further replies.
Level 1
Joined
Feb 5, 2010
Messages
3
Trying to set the units that the computer controlled player use and selects to build are custom. Have tried multi. triggers. This is the current one I have been trying to get to work.

Trigger:
If ((Unit-type of (Picked unit)) Equal to Troll Headhunter) then do (Unit - Replace (Picked unit) with a Crossbow Orc using The old unit's relative life and mana) else do (Do nothing)

The computer will select and build as it wants, just need to make the trigger switch the unit from the basic orcs unit to the new ones. I have tried the trigger in the tutorial, but with no luck, I keep getting either all one unit, or twice as many units, or it just doesn't work.
 
Level 3
Joined
Oct 9, 2008
Messages
61
I think you can add the unit at basic map AI, and then just set exactly the same setting as the old ones.
 
Status
Not open for further replies.
Top