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

[AI] AI help plz

Status
Not open for further replies.
Level 1
Joined
Mar 23, 2005
Messages
2
1.)
A script where the computer can find out where a players "panda" (custom unit) is.
Then it moves toawrd it on map.
If buildings in way atk them THEN atk the panda.
(for a tag game)
Any help?
And one more thing.
If you post to this on post as #2...
Where i can make a unit move around map attaking ANYTHING thats not a ally.
Thanks to anyone for their time :)
 
Level 4
Joined
Jan 9, 2005
Messages
106
thats not what he's looking for exactly... that would be too simple to defeat (randomly build in a line leading away from the attacking unit)... you could always have it check for pathing to the panda, then if pathing is available then attack. if not, then search for pathing nearest the unit - then start an attack (would hit the buildings). wow I'm bad at explaining AI...
 
Status
Not open for further replies.
Top