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

Custom Hero AI

Status
Not open for further replies.
Level 11
Joined
Mar 29, 2015
Messages
502
I already posted this in world editor zone, but I wanted to post it here as well, in case someone might be able to help.

I'm adding a hero to the allied/enemy teams. How do I get that custom hero to have the normal AI of that team? For example, I'm working on the Orc Mission 3, Cry of the Warsong, and I added a hero to the Warsong Clan team. How do I make that hero have the same AI as the rest of the team?

Edit: These are the triggers I'm trying to use. I know it's wrong, I'm just testing out stuff to see if anything works.

  • Warsong Commander Attack
    • Events
      • Unit - A unit leaves FailsafeTowerGrom2 <gen>
    • Conditions
      • (Triggering unit) Equal to Grom
    • Actions
      • Unit Group - Pick every unit in (Units owned by Player 4 (Purple)) and do (Actions)
        • Loop - Actions
          • Unit - Order Commander 0177 <gen> to Attack-Move To (Center of PingBlue <gen>)
          • Unit - Order Commander 0177 <gen> to Attack-Move To (Center of PingGray <gen>)
          • Unit - Order Commander 0177 <gen> to Attack-Move To (Center of PingGreen <gen>)
          • Unit - Order Commander 0177 <gen> to Attack-Move To (Center of PingLightBlue <gen>)
Edit: Also, the first time the hero attacks the human bases, after he dies and revives, he doesn't go out again. Even though I'm pretty sure I set it as a loop, the custom hero doesn't go out to attack anything when Grom leaves.
 
Last edited:
Status
Not open for further replies.
Back
Top