HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell help

08-22-2004, 07:09 PM#1
Necron.
ok here's the deal, i wanna create a trigger, but it has problems, here .
Unit a unit is attacked
spell equal to 'test'
special effect - create a special effect at 'attacked unit' using model- blablabla

but this doesnt work at all, so how do i create a special effect(and maybe more) on a unit , if that unit is hit by a certain spell?
08-22-2004, 07:33 PM#2
oNdizZ
Hmm, well i cant actually see any problem with that trigger. Maybe you should test to add (on conditions): unit-type of attacking unit equal to "your tower, unit or whatever"

and are you really sure about that your unit can this "test" ability.
and double-check that you have it all right again :)

ohh, try to change the model on the special effect too :) it can be some model that cant be seen with that conditions or whatever..
08-22-2004, 08:11 PM#3
Necron.
hmm, i just figured it out, and just learned variables, and learned that variables is my best friend and im glad :P
08-23-2004, 03:00 PM#4
oNdizZ
Quote:
Originally Posted by Necron.
hmm, i just figured it out, and just learned variables, and learned that variables is my best friend and im glad :P


hehe, thats right! Variables ownz
08-23-2004, 03:03 PM#5
Xodus-Wing
can someone teach me about variables O_O
08-23-2004, 03:20 PM#6
Necron.
well i dont think im the man to do it, but its sorta hmm.. lol i cant help you
08-24-2004, 10:33 AM#7
volatile
Event
Unit begins casting ability
Conditions
Ability being cast = your ability
Actions
Add special effect to (target unit of ability being cast)

Or what you can do here is add a buff with the effect you want and use an ability with a duration.

You can also add another trigger that gets turned on at the end of this trigger that detects the buff and does some trigger related stuff to any unit with your specific buff. :D

Hope this helps.
08-24-2004, 12:57 PM#8
Necron.
i dont need any more help now, but thanks everyone, now Clyner is helping me on the map :)