| 07-12-2009, 09:55 AM | #1 |
Hi, i want to write a script which is able to check if a unit has some specific buffs and if true add a synergy effect. I thought about an Event wich triggers if any unit on map gets or loses a buff. And then if some conditions are true i would like to give this unit an extra buff. For examble: A unit gets the devotionaura buff. Then i would check if this unit has also the enduranceaura buff. If true i would like to add the commandaura and else i would like to remove the commandaura. I wrote only a few small skripts in jass and could need some help. How do i write such an event? |
| 07-12-2009, 12:19 PM | #2 |
Unfortunately, no such event exists. You will need to either periodically check all units on the map for the buff or trigger the aura entirely (there are systems that can help you do that). |
| 07-12-2009, 12:43 PM | #3 |
Hm i have no idea how to trigger an aura entirely. What systems do you mean? |
| 07-12-2009, 01:02 PM | #4 |
Something like this, for example. |
