• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[AI] AI Hero! problem!

Status
Not open for further replies.
Level 8
Joined
Jul 22, 2008
Messages
331
I kinda know how to make an AI. I once created an AI to be better than insane...
let's get to point.
I cannot manage to control only one hero... no starting units, nothing but hero.
I know that this is possible but i can't manage to do it.

I presume also that my hero has to be based on a standard hero or else AI won't recognize it... but how?
 
W8, I think I misunderstood.. You mean a AI for a hero and a hero only?
If so I gues making a triggered AI would be better.
If you still want to use a normal AI that also builds stuf and trains units normaly I gues you can just delete everything u don't want? Like for the human race, and only the things that have to do with the heroes.

Again, if you are only going to use a hero, I gues it would be best just to use a triggered AI.
 
Well... you could make it more complicated?
Using random values etc, that way you can't always tell what it's doing.
As a example:
<Your Hero> comes within 1028 range of <Main Building>
Set RandomNumber = Random number between 0 and 10.
If RandomNumber = 1, return to base.
If RandomNumber = 2, attack it.
If RandomNumber = 3, explode.

I dunno, it's just a example I gues you know what I mean.
 
Status
Not open for further replies.
Back
Top