| 01-13-2007, 11:48 AM | #1 |
hi id like to know how i can make an area thats deals permanent damage to all units in it. would be happy if some1 answers me sorry for bad english |
| 01-13-2007, 12:30 PM | #2 |
Well probably the easiest way would be to make a dummy unit, give it locust, make the owner neutral hostile, create an ability based off permanent immolation and give it to it. Then place the unit where you want the area to be, all units will take damage inside the area that you put in the permanent immolation. |
| 01-13-2007, 02:16 PM | #3 |
That area is a fixed region?? if so, you can do a periodic trigger which every second, takes all the units inside the region and deals X damage. |
| 01-13-2007, 02:26 PM | #4 |
thanks |
| 01-13-2007, 03:33 PM | #5 | |
Quote:
|
| 01-13-2007, 03:36 PM | #6 |
Permanant Immolation has a bug, fyi. You have to pause/unpause the unit on it for the damage to update properly per level. |
| 01-13-2007, 04:43 PM | #7 | |
Quote:
|
| 01-13-2007, 04:54 PM | #8 |
I would use the native damage area func, which should work for you, as you want to damage every unit in the AOE. @Dusk, plx add it to the Wc3 ability guide. |
| 01-13-2007, 05:00 PM | #9 | |
Quote:
Yes, Bert, it's the best, and one line of code. |
| 01-16-2007, 03:41 AM | #10 |
so wat is it? o.o |
| 01-16-2007, 04:20 AM | #11 | |
Quote:
There has been complaints that the function causes MAC computers to crash. I myself have never tested it, but it's better to be safe than sorry. |
| 01-16-2007, 05:19 AM | #12 |
I'm on a mac, and it's never caused my computer to crash or Desync... Maybe it's only a problem with older operating systems or the new Intel Core Duo Macs. Here's the function: Trigger: Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Center of (Playable map area)), dealing 100.00 damage of attack type Spells and damage type Normal |
| 01-16-2007, 11:49 AM | #13 |
I guess it's force of habit for me -- But I always group units in range of a point, then loop through the group and damage them that way. I never use that silly damage to circular area function. My way works better if you happen to want to attach FX individually to struck units or do other stuff. |
| 01-16-2007, 11:14 PM | #14 |
It would seem to be that using your method would be more reliable and flexible, but also longer and more prone to leaks (if you don't clean them). Either way should work fine, though. |
