Actions

Difference between revisions of "Balance Recovery Attack"

From Iron Realms Nexus Client Documentation

Line 3: Line 3:
[[File:Trigger-balance.png]]
[[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 am using the client to select targets by clicking on the enemy in the room window or by using the tab key to select a target then the @tar variable is automatically set that enemy.
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 or the output.
Here is an example of the output.


[[File:Trigger-balance-sample.png]]
[[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.

Revision as of 17:19, 29 June 2015

The trigger below will automatically attack when you recover balance.

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.

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.