| 06-08-2003, 09:16 PM | #1 |
can auras trigger special effects when a unit enters them? Like lets say I wanted to make an aura that when any dead or decaying unit enters them, they turn into zombies. Is this possible? |
| 06-08-2003, 09:31 PM | #2 |
unti enters range of aura unit. many triggers are needed. ill aim em to you. |
| 06-08-2003, 10:18 PM | #3 |
every .5 seconds pick each unit in playable map area and do action if unit = unit that has aura pick each unit in [###] range of picked unit and do action if unit is [dying/decaying whatever condition you want] replace unit with [zombie] using [new units max life and mana]. if you want it to be an ability that a hero can learn your going to have to use a unit array to keep track of the units that have the ability using the learns an ability event, then add an if statement to the above that will check if the unit is in the array. |
| 06-08-2003, 11:01 PM | #4 |
Doesn't having a periodic trigger that runs every .5 seconds slow it down? |
| 06-08-2003, 11:04 PM | #5 |
2.0 will work, 1.00 wil ltoo, but 2.00 is better, less lag. talkin about pereotic event. |
| 06-09-2003, 02:34 AM | #6 |
Why would you want to use any of these damn timed events when warcrafts as a dedicated event for what you need ? (event - unit within range) event - A unit comes within *range of your aura* of *unit that has the aura* Would definitely suit the situation ^^ Regards |
| 06-09-2003, 02:36 AM | #7 |
Sorry EF I just realised that it was exactly what you recommended. That is THE mathod to use, the timed event + check is very unefficient Regards |
| 06-09-2003, 06:57 AM | #8 |
I need to know, is the range half the aoe? (It should be at least 8)) |
