Post Sat Jan 21, 2012 11:10 am

HOWTO: Easily set up follow/assist any window in any game

Here's a fairly simple run-down, granted I haven't taken the time to break it down into step by step instructions yet (future edit) but let's get started:

First, set up some Variable Keystrokes, like this (the key combos need to be what you have configured in the game):
* Follow Target = F11
* Assist Target = F12
* Target Slot 1
* Target Slot 2

Assign values for Target Slot 1 and Target Slot 2, for each Slot in your Character Set.
For example for my 2 slots:
my Slot 1
- Target Slot 1 = F1 (he is Slot 1, F1 is target Self)
- Target Slot 2 = F2

my Slot 2
- Target Slot 1 = F2
- Target Slot 2 = F1

Then your universal Follow Me Mapped Key (which can go in Non-combat Key Map for example) is like so:
- Variable Keystroke Action: Target Slot {SLOT} -> all other
- Variable Keystroke Action: Follow Target -> all other

Here's an example you can paste into a Key Map (select your Key Map in top left pane, right click Mapped Keys in bottom left pane, select Paste Mapped Key from Clipboard):
Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.MappedKey</ObjectType>
  <SerializedObject>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;MappedKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name&gt;Follow Me&lt;/Name&gt;
  &lt;Description /&gt;
  &lt;Combo&gt;
    &lt;Combo&gt;Alt+X&lt;/Combo&gt;
    &lt;Modifiers&gt;Alt&lt;/Modifiers&gt;
    &lt;Key&gt;
      &lt;Key&gt;X&lt;/Key&gt;
      &lt;Code&gt;45&lt;/Code&gt;
    &lt;/Key&gt;
  &lt;/Combo&gt;
  &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
  &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
  &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
  &lt;ResetType&gt;Never&lt;/ResetType&gt;
  &lt;Mode&gt;OnPressAndRelease&lt;/Mode&gt;
  &lt;Steps&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Stop&gt;false&lt;/Stop&gt;
      &lt;Stump&gt;false&lt;/Stump&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="VariableKeystrokeAction"&gt;
          &lt;Target&gt;all other&lt;/Target&gt;
          &lt;Name&gt;Target Slot {SLOT}&lt;/Name&gt;
          &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Stop&gt;false&lt;/Stop&gt;
      &lt;Stump&gt;false&lt;/Stump&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="VariableKeystrokeAction"&gt;
          &lt;Target&gt;all other&lt;/Target&gt;
          &lt;Name&gt;Follow Target&lt;/Name&gt;
          &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
  &lt;/Steps&gt;
&lt;/MappedKey&gt;</SerializedObject>
</Box>


And Assist Me is like so:
- Variable Keystroke Action: Target Slot {SLOT} -> all other
- Variable Keystroke Action: Assist Target -> all other

The {SLOT} in the name for the Variable Keystroke Actions will resolve to the Slot number that sends the instruction, so if you do this from Slot 1 it sends "Target Slot 1", if you do it from Slot 2 it sends "Target Slot 2". You now have two simple Hotkeys for Follow and Assist, which you can use in any game, for up to any number of characters that you can so easily target. :)