Balance Recovery Attack: Difference between revisions
From Iron Realms Nexus Client Documentation
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
Notice that the game will try to attack the target after I recover balance, but the target has already been killed. My trigger is not aware my target was killed in this case. Not a big deal, but let's do a more advanced version of this trigger that will keep track of when targets are killed. | Notice that the game will try to attack the target after I recover balance, but the target has already been killed. My trigger is not aware my target was killed in this case. Not a big deal, but let's do a more advanced version of this trigger that will keep track of when targets are killed. | ||
Latest revision as of 18:04, 17 February 2016
The trigger below will automatically attack when you recover balance.
This is fairly straight forward. The main thing that may confuse you is the @tar variable in the command to attack. If I use the client to select targets by clicking on them or by using the tab key, then the @tar variable is automatically set that enemy.
Here is an example of the output.
Notice that the game will try to attack the target after I recover balance, but the target has already been killed. My trigger is not aware my target was killed in this case. Not a big deal, but let's do a more advanced version of this trigger that will keep track of when targets are killed.