Is it possible to make a spell trigger on attack or on when you get attacked?
two examples:
1) You hit an enemy and he will get the tornado debuff on him
2) The enemy hits you and he will get the tornado debuff on him
Oh and offtopic, why my Item Attack Frost Bonus won't trigger on...
I got it working, thanks. But I can't seem to be able to cast custom spells with the following code:
Unit - Order kingCaster to Human Archmage - Blizzard (Random point in innerCenterArea <gen>)
There's only like 30 different spells on the list.
The spell has it's default mana cost but the dummy has 100000 mana. I want the dummy to be neutral hostile so it will target everyone.
The dummy "Is A Building" is that ok?
Hey, the following code doesn't work. It is suppose to cast a Sentry Ward to a random point in a region.
Unit - Create 1 King Caster for Neutral Hostile at (Center of innerCenterArea <gen>) facing Default building facing degrees
Set kingCaster = (Last created unit)
Unit - Add Sentry...
I know they are different things, the reason why I used / sign was because I've tried both of them and they behave the same way.
The problem is that either of the effects just flashes and disappears.
I'm having yet another problem. I try to hide certain areas of the map for certain players but the area only flashes with blackmask / fog of war and then comes back visible.
I tried to reverse it by first black masking / fogging the whole map and then setting some parts visible but again it...
Thanks, it worked beautifully.
I'm really good at programming so it was pretty straightforward but it's hard when you don't know the function names. :/
Rep+.
Hey, I'm using the following code to auto-revive my heroes:
http://unska.com/jass.JPG
How can I modify the 13th line to spawn the hero in the triggering player's start location?
Hey guys,
I was wondering what are the possible means of leaving a region so that the event "Leaves a region" will trigger?
I know for sure that walking out of a region will trigger it but what about blinkin or dying and then respawning to city hall?
What I am doing is making a region...