• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Issue train order from any Altar of Kings

Status
Not open for further replies.

94tschmidt

9

94tschmidt

Hi, I am currently working on my very first AI, it is going to be very basic, and right now I am trying to make a trigger that orders a specific hero to be trained from an Altar.

However at the ''Issue Train/Upgrade Order'' action, I cannot pick a unit-type, but only a specific unit on the map.

I want the AI to train the custom unit from wherever it might build the Altar. How do I select Altar of Kings as the unit-type that has to follow the order?

Sorry for the broken English.
 
You'll have to make a unit group, then filter out the altar as "picked unit."

However, since this is an AI, have you tried using the AI editor?
You can automatically make the computer player use any custom hero with an AI script, which is much easier to do.
If you want to look into this, this is the best AI editor tutorial I know:
Competitive AI Step by Step with AI Editor - Wc3C.net

You could always open the "GruntMaster" AI script made by Blizzard, too, to get a good feel for its setup and order.
 
Status
Not open for further replies.
Back
Top