• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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