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

Aggression toward sleeping creeps

Status
Not open for further replies.
Level 5
Joined
Jan 6, 2010
Messages
115
I have noticed that the AI, upon order attack-move, will SOMETIMES attack sleeping creeps, and sometimes not. And just can't figure out the reason for this.

Any tips to me on how to avoid having my roaming dragon attack everything? (They need to be hostile to eachother, however).
 
Level 3
Joined
Aug 4, 2013
Messages
55
i never heard this problem before, maybe you can make an if statement in your roaming code something like, if targeted unit is enemy equal to false. can you post your roaming code?
 
Status
Not open for further replies.
Top