HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Why no "Unit- A unit attacks"

12-02-2006, 12:12 AM#1
Pyrogasm
How come there is no event for when a unit attacks? There's one for when a unit is attacked, and you can check the unit-type of the attacking unit, but this wouldn't trigger if a unit attacks an item or a destructable. I found that kind-of odd, because it seems like it would be an essential event in WC3. Is this event added in WEU or other 3rd party editors?
12-02-2006, 12:37 AM#2
Vexorian
You would have to hack the engine to add the event to a 3rd party world editor which WEU is btw.
12-03-2006, 11:01 PM#3
Joker
Unit - A Unit is Attacked

works just as good ;)
12-03-2006, 11:49 PM#4
TaintedReality
Quote:
Unit - A Unit is Attacked

works just as good ;)

No, he's looking for something that will detect when items or destructables are attacked.
12-04-2006, 01:11 AM#5
Pyrogasm
Quote:
No, he's looking for something that will detect when items or destructables are attacked.
That I am.
12-04-2006, 01:23 AM#6
Ryude
You can check a units issued order.

"A Unit is issued an order" Target of issued order = item or destructible.