HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to make creeps ignore a hero?

04-26-2007, 08:51 AM#1
Skurai
Creeps will auto attack a unit that approaches it.I wanna make it such that the creeps ignore this hero unless the player manually clicks on the creeps to attack that hero, any1 know how 2 do that?
04-26-2007, 10:22 AM#2
Conquestor
Quote:
Originally Posted by Skurai
Creeps will auto attack a unit that approaches it.I wanna make it such that the creeps ignore this hero unless the player manually clicks on the creeps to attack that hero, any1 know how 2 do that?


Go to Advanced > Gameplay constants > Check "Use custom gameplay constants" on top > Change guard distance to something very low.
04-26-2007, 11:40 AM#3
Skurai
I kinda want it it to work at 0 distance for this hero only,not for everything,that would kinda ruin it. Which trigger does that?

Or is it possible for me to make the hero invulnerable until a hero left or right clicks it?
04-26-2007, 11:48 AM#4
Rising_Dusk
Remove the hero's attack would work.
Creeps automatically ignore attackless units if other attackers are in the area, it's AI-hardwired.

That would probably be the most surefire way to do it.
Though your hero does lose an attack.
04-26-2007, 12:08 PM#5
Conquestor
Hm.... You could do my suggestion, but give all of the "normal" units a dummy immolation with no effect/damage.

Might have some weird affects on the AI though, as I have never tried it.
04-27-2007, 04:57 AM#6
Skurai
I could but auto attack is real important lol. hmm it may lose its attack and AI will attack an enemy unit even if it loses its attack,and i need it to have its attack lol

Wonder if i can make the hero lose invulnerability if an enemy clicks on that hero-
04-27-2007, 05:56 AM#7
Dil999
Worker classification anyone?
04-27-2007, 04:51 PM#8
Conquestor
Quote:
Originally Posted by Dil999
Worker classification anyone?

They will still attack the hero, with worker class.
04-27-2007, 05:05 PM#9
Phish-Paste
Uhh, worker class would work, I think. Try making it a 'creep.'

Otherwise, it might be impossible.
04-27-2007, 05:54 PM#10
Earth-Fury
make them neatural passive. when the hero is issues a smart / attack order (right click or attack) change the owner to neutral hostile.
05-05-2007, 01:45 PM#11
Skurai
Thanks for the help and ideas