Help With Damage Trigger

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

UltimateAnimeFan
Newcomer
Posts: 17
Joined: December 8th, 2008, 12:25 am
Title: Rasen-Shuriken User
Location: Forest Of Death

Help With Damage Trigger

Post by UltimateAnimeFan »

Hello im new to this website but i already know a lot about it from my friend i was wondering how do i make a unit damage another one after it enters 100 AoE of the one its going to damage after casting a spell that moves the caster to the target? Please help :)

EDIT: I need this done as soon as possible and i know im being impatient but multiple other things have been done or at least attempted while nobody has even seemed to try this :( so please someone try it soon
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Help With Damage Trigger

Post by Arabidnun »

I need a clear definition of what is about to happen, what you typed is how a dyslexic person reads...

Please proof read and repost with a clear definition.
User avatar
Syre
Forum Staff
Posts: 506
Joined: November 17th, 2008, 3:49 pm

Re: Help With Damage Trigger

Post by Syre »

From the sound of it, it seems like he wants it so.. After a Unit Casts a Spell, hes moved automatically infront of the target. Then in a radius of 100 around the caster, minus himself, he damages for a set amount of damage...So sounds to me like its a small thunderclap minus the slow after being moved.
Image
UltimateAnimeFan
Newcomer
Posts: 17
Joined: December 8th, 2008, 12:25 am
Title: Rasen-Shuriken User
Location: Forest Of Death

Re: Help With Damage Trigger

Post by UltimateAnimeFan »

yes thats EXACTLY what i want
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Help With Damage Trigger

Post by Arabidnun »

So basically, you want a thunderclap spell with 100 AoE that moves the caster to target?
UltimateAnimeFan
Newcomer
Posts: 17
Joined: December 8th, 2008, 12:25 am
Title: Rasen-Shuriken User
Location: Forest Of Death

Re: Help With Damage Trigger

Post by UltimateAnimeFan »

lets break it down i want a trigger that when a unit uses an ability that targets a unit (in this case Storm Bolt) it waits for the casting unit to enter 100 AoE of the targeted unit then wait 0.25 seconds then damage an AoE of 500 centered at the position of the targeted unit damaging all units in that AoE of 500 that belong to enemy players of the owner of the casting unit
User avatar
Varoze
Newcomer
Posts: 18
Joined: May 5th, 2008, 7:44 am

Re: Help With Damage Trigger

Post by Varoze »

Well, this is what I could throw together in 2 minutes :P
I'm not particularly skilled in triggering yet, and I don't know what's causing, or how to prevent, memory leaks, so Arabidnun, could you check for me, cause I don't know anything 'bout it :P

Anyway, this should work, even though I changed the range from 100 to 150, due to the default melee range being 128, so 100 seemed a bit to close, feel free to change it back, though :P

EDIT: whoops, I forgot to exclude structures >.< I take it you didn't want it to affect structures as well? Well, anyway, I've fixed it now ^^
You do not have the required permissions to view the files attached to this post.