• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[AI] Random Suicide Missions?

Status
Not open for further replies.
Level 6
Joined
Jul 2, 2008
Messages
156
In Starcraft, there was an awesome A.I. script something along the lines of
"Send all units on Random Suicide Missions"

In Warcraft, I tried to recreate the effect by adding a trigger
  • Time - Every 0.25 seconds of game time
  • Unit Group - Pick every unit in (Units owned by Neutral Hostile matching ((Current order of (Matching unit)) Equal to (Current order of Zombie Steve 0062 <gen>))) and do (Unit - Order (Picked unit) to Attack-Move To (Position of (Random unit from (Units owned by (Random player from Contestants)))))
  • AI - Ignore the guard positions of all Neutral Hostile units
I used "Current order of Zombie Steve" as a flag for any units that are just sitting without orders, because Order(stop) doesn't seem to be the same.

Anyways the problem is, the enemies keep trying to return to their point of origin after a few seconds, thus clogging the unit spawn and utterly ruining the whole idea. I figured the AI Guard Position thing would fix it, but it didn't. Any suggestions?
 
Status
Not open for further replies.
Top