HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Does not auto-attack spesific units within range

02-08-2006, 02:12 PM#1
Drakim
Hi!
Anyone knows if it is possible to have an unit not autoattacking some units?
I Have an hero-arena map and I want the players to autoattack enemies, but not other players.

(by autoattack I mean as in automaticaly attacking an enemy if it is withing range)
02-08-2006, 02:36 PM#2
Chuckle_Brother
You don't want them attacking heroes is what you mean? If so then just use a trigger to order them to stop if they try
02-08-2006, 03:00 PM#3
qwertyui
You can specify target priorities for every unit-type on your map, so that AI autoaquires the target with higher priority, when given a choice.
Every unit-type has a field for for it in object editor.
02-08-2006, 03:01 PM#4
Panto
You could make all the players allies, so that they only try to attack the "enemies", if I understand your problem correctly.
02-08-2006, 03:28 PM#5
Jacek
Give your heroes Worker classification and remove it by triggers at map initialization.
02-08-2006, 08:23 PM#6
Drakim
Thanks! I'll try the worker class tingy! Thanks for all other ideas thouh
02-08-2006, 09:01 PM#7
PerfectlyInsane
well you can set the acquisition range of the unit to 0. Either on the unit or through a trigger.