| 04-05-2008, 02:40 AM | #1 |
I want to make a trigger which does <Actions> if a unit has <buff>. It could be something like when a unit is attacked and attacking unit has <buff>, do <actions>. But I can't find out how to do so. |
| 04-05-2008, 02:46 AM | #2 |
| 04-05-2008, 04:47 AM | #3 |
So, what I did was this. Trigger: And I can't seem to add the 2 abilities to a unit even if the unit doesn't do anything. |
| 04-06-2008, 03:50 PM | #4 |
you're kinda trying to make the attacking unit dissapear for a while if that's what u want, you can use the cyclone ability on the attacker. just remove the effects. |
| 04-06-2008, 08:22 PM | #5 |
I'd say my ABuff system is the answer to all your problems, but I get the feeling I say that too often. Besides, you need to know some jass in order to use it. Buffs are a pain to trigger, though. To try using only GUI... well, maybe it can be done painlessly enough, depending on what you want to do exactly; a description of the ability you need this for would be helpful. |
| 04-07-2008, 04:01 AM | #6 |
He probably wants whenever a unit with the buff attacks, it gets complete invisibility for a short time. I guess you would have to use a local Timer and a local unit variable too... Although, that would require some JASS knowledge. (Shoot, I really need to learn JASS some time soon.) |
| 04-07-2008, 09:08 AM | #7 | |
Quote:
Yes. But it does fix everything. |
