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