HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Simple event

08-28-2007, 11:50 PM#1
bounty_hunter2
Okay i tried searching this and never found it -

Destrucible gets attacked event, there is only destructible dyes. Does this exsist in JASS? And if yes how to set it. Thanks
08-29-2007, 01:03 AM#2
Anopob
I don't think so, but maybe you could check when a unit uses harvest or whatever on the tree (or nvm if you actually want an ATTACK).
08-29-2007, 09:21 PM#3
bounty_hunter2
i was aiming on unit attacks gate
08-29-2007, 10:02 PM#4
unwirklich
i guess there might be easyer/nicer ways, but thats how i did it once ago:

-make a unit (building that looks like the gate and has the same pathing...)
-to avoid that every unit in range attacks the gate automaticaly give it to a neutral player which is named "neutral" or "gates" or whatever
-to make it attackable with right-klick just make a trigger which detects a rightcklick order and orders the triggerinig unit to attack the rightcklicked unit.

i guess it worked that way... should do... i made something like that with respawnable barrels ...in a dungeon which becomes random refilled with monsters and barrels everytime you enter it again... ahm yeah.
08-29-2007, 11:29 PM#5
bounty_hunter2
okay thanks i thought to do it with units but hoped that i won't need to. Thanks.