HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WArcraft AI

08-15-2003, 10:25 PM#1
1000FootKrutch
how do you make it so that wen a unit comes near an enemy unit, it doesnt attack and only attacks it is issued an order to
08-15-2003, 11:31 PM#2
xXL33t-DragonXx
Could you explain your reasoning a bit more? There may be a simpler solution.
08-15-2003, 11:36 PM#3
Plasma[Blade]
...what? If you want an answer, you'll have to speak English, otherwise we can't help you. :...:
08-16-2003, 12:07 AM#4
1000FootKrutch
ok. yur unit comes rite next to an enemy unit.
yur unit doesnt attack
u rite click the enemy unit.
yur unit attacks only once.

how u do this
08-16-2003, 12:36 AM#5
Pesmerga
Event - A unit is attacked
Cond - Attackin unit equal to blah
Action - Wait .5 seconds
Action - Order attacking unit to stand
08-16-2003, 01:01 AM#6
Juvat
If you don't want them to attack without permission, make the unit being attacked a neutral passive unit.
08-16-2003, 04:53 AM#7
1000FootKrutch
yea but the passive uint wont retaliate and if you rite click on a passive uint, then it patrols it not attacks
08-16-2003, 12:06 PM#8
Krakou
Give your unit the classification worker, worker doesn't attack.
08-16-2003, 12:33 PM#9
Phil_123
Quote:
Originally posted by Pesmerga
Event - A unit is attacked
Cond - Attackin unit equal to blah
Action - Wait .5 seconds
Action - Order attacking unit to stand
No. Not near WE, so you might have to change something

Event - A unit owned by Player X is attacked
Condition - Owner of attacking unit is an enemy of Owner of attacked unit
Action - Order attacked unit to Hold Position
Order attacked unit to Attack Once attacking unit
08-16-2003, 03:47 PM#10
cideh
Why not just change Acquisition range to 1? Don't change it to 0, as that means unlimited.
08-16-2003, 06:09 PM#11
1000FootKrutch
Quote:
Originally posted by Phil_123
No. Not near WE, so you might have to change something

Event - A unit owned by Player X is attacked
Condition - Owner of attacking unit is an enemy of Owner of attacked unit
Action - Order attacked unit to Hold Position
Order attacked unit to Attack Once attacking unit

?? i only want the unit to attack wen u right click. besides when your uint atomatically attakcs, it hold positions? then attacks again???