HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Splash damage

11-04-2002, 10:27 AM#1
Guest
I'm trying to make a trigger that damages nearby units when hero dies. I couldn't find any trigger that would do that. Is it possible?
11-04-2002, 02:41 PM#2
Exor
Event:
A Unit owned by player 1 dies
Condition:
Unit type of dieing Unit equal to Explosive guy
Action:
Pick all Units in Range of 400 of triggering Unit set picked Units live to Units live - 100
Pick all Units in Range of 400 of triggering Unit set create a special effect at position of picked unit anything.mdl
create a special Effect at Position of dieng Unit anything.mdl


thats it 8)



Juhuuu first Post:sun: :knife: :gsmile: 8)
11-04-2002, 03:05 PM#3
Izidkiel
Wow, i always wanted to do that.:D
11-06-2002, 06:45 AM#4
ChronOmega
isnt there a unit ability AOE (area of effect) damage upon death?
11-07-2002, 05:01 AM#5
Guest
yeah there is a sapper one, but it doesn't seem to work correctly, also to modify the AOE damage even more you can pick units between 200-400 to do 100dmg and pick units 0-200 to do 200 damage, that way it varies by distance :)
11-11-2002, 11:28 AM#6
Guest
thx a lot, Exor! It worked (of course ;-))