Actions

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
Line 1: Line 1:
Here is a basic example of a reflex.  
The trigger below will automatically attack when you recover balance.


In this example we create a trigger that automatically attacks a monster, I have previously targeted and attacked, when I recover balance.
[[File:Trigger-balance.png]]


First open the setting page and click on the 'Reflexes' tab.
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.


[[File:Example.jpg]]
Here is an example or the output.


Second, click on the 'Add' Button and select 'Add a Trigger'.
[[File:Trigger-balance-sample.png]]
 
Next, you add the 'Trigger text' you are looking to trigger from. In this case I am using 'You have recovered balance.' In order to better organize your triggers you can create a 'Trigger name'. For this trigger we use the name 'Recover Balance'. The name does not really matter and is just for your purposes. We leave the 'Matching type' as contains.
 
When the game sends this text, I was to send the command to attack my target. I set the first action to 'Send a command' and then set the command to 'attack @tar'.
 
@tar is a variable automatically set by the game in this case.
 
Here is an example.

Revision as of 17:14, 29 June 2015

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 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.

Here is an example or the output.