[JASS] Buff Activation

Status
Not open for further replies.
It's easy but really heavy to the system.

1. Create a Group to hold the units you want to affect by the script.
2. Every 1 second, pick every unit in that group and loop through the list of buffs you want to know the unit have.
3. If the unit has the buff, call a custom function (you have to create) for that unit.
 
The thing about "move" is that the order with the Right Click is "smart" and not "move" tough the unit moves. As far as I know, there's no way to detect the "smart" order given by the right click is actually a "move order", it can be "attack-ground" or anything else; there are several orders wich would make the unit move.

There are some systems in Spell Section used to detect when the unit is moving.

What exactly do you want to achieve by detecting the unit wich acquires a buff? What do you want to do after that?
 
Status
Not open for further replies.
Back
Top