| 02-16-2008, 02:49 PM | #1 |
My friend asked me this... He wants to make an aura that will add % bonus damage with every unit in range of the aura. So example, 1 unit, 2% damage. 2 unit 4% damage and so on. However The only way to do such aura is by triggers. And the problem is that I can't find a Event to do this. The Unit within range event would require an existing unit to be placed, and no variable could be used. There are a few solutions although, either by creating the unit in advance, or using a periodic timer. However if there are many units using the same aura, then it wouldn't be feasible to use it. And using a periodic timer would affect the game in terms of speed and memory. Are there any ways to solving this problem? And also what events could be used for Auras? Thanks in advance. |
| 02-17-2008, 11:57 AM | #2 | ||
Quote:
Quote:
Right now, I think that a timer + groupenum combo is the best way for auras, of course, you could do something crazy like range events with things attached to the trigger but it is proven that's slower and messier, so... |
| 02-17-2008, 04:01 PM | #3 | |
Quote:
You can always play around with Trigger - Add New Event (which will allow you to use variables with Gets Within Range) |
