Balance Recovery Attack: Difference between revisions
From Iron Realms Nexus Client Documentation
(Created page with "Here is a basic example of a reflex. In this example we create a trigger that automatically attacks a monster, I have previously targeted and attacked, when I recover balanc...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The trigger below will automatically attack when you recover balance. | |||
[[File:Trigger-balance.png]] | |||
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. | |||
[[File:Trigger-balance-sample.png]] | |||
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.