• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Attack-moving AI units are attacking player units and allies???

Status
Not open for further replies.
Level 12
Joined
Nov 3, 2013
Messages
989
I've got an old map that me and a buddy made years back (Like 2008 or something) that I recently thought to rework, it's pretty good but we weren't very good with the WE editor back then.

I changed the terrain and did some janitor work with hero revive triggers etc, not any big stuff, and when I tested the map later the AI controlled units (Allies and Enemies) would sometimes suddenly being attacking other player owned units or allies until either the attacker or the attacked unit dies.

The only attack order triggers are "unit enters region - attack-move to next region" type of triggers (They're really awful btw, not even any else if but one trigger for every player for every region...) so I'm 99% sure it's not the fault of any order issuing from triggers at least.

I've noticed that ranged units (especially spellcasters) do this more often (or maybe they're just easier to notice because of the projectiles) but I've observed melee units and even AI heroes killing their own allies and then continue like nothing happened...

I've tried searching for a topic like this to no avail and I've never heard of someone with a similar problem...

This map is old and wasn't made in the new gen WE unlike which I'm using now so maybe that messed it up something? Though I'm doubtful about that but it's basically all I can come up with...
 
Solved, there were only triggers for hero abilities that had order attack target but apparently when I had removed some other things the conditions for the trigger had been disabled because of missing variables but the attack order still persisted which now affected all units because of the disabled condition...

Kind of silly really but I can't really blame anything besides myself not being thorough enough.
 
Status
Not open for further replies.
Back
Top