KR Macros
Macros
Mainmenuicon.jpg
To access the macro function, click on the 'main menu' on the menu bar and select 'Macros/Actions'.
Two gumps open up (Macros and Actions), click on
Macrofirst.jpg
Macro box ('No Macros' text inside) = where the completed macros are stored.
Edit Macro box = opens when 'create' is clicked and is where you create and edit the macro.
Action Box = for performing 'actions' in your macros by dragging the action to the macro command boxes.
Creating Macros
Most macros are relatively easy to create. Simple ones are created with four parts:
- The 'picture' part: is the 'visible' icon you use to drag to your hotbar or to identify the macro. This is the box (above) with
text 'no icon set'. To set a 'picture' in this box LEFT click and a box of icons opens for you to select from. These have some
'custom' Icons and icons of all spells, actions, weapon specials etc. Scroll down in here (with scroll bar or mouse wheel) to
select the 'picture' you wish to use to identify your macro. LEFT clicking will put the icon in the box.
Macroicon.jpg
The 'Picture' Icon box.
-
The 'command' part: is where you put the actual 'command' part of the macro. To add 'commands' to this box drag spells
(from spellbooks), skills (from skill menu), weapon abilities (from equipped weapon on the status gump when paperdoll is
opened, actions from the 'action box' or items into the box (items may be dragged from your pdoll or backpack). -
The macro 'name' part: where you name your macro. This is a must if you have not selected a 'picture' icon, (which may
be made without a 'picture' if it is not intended to be placed in a hotbar but just assigned a hotkey). It is handy to name all
macros in case the 'picture' you have selected is not 'obvious' to the command it performs. -
The 'repeat' part: allows you to enable repeating and you can repeat an 'action' up to ten times.
For example a simple spell macro (eg greater heal) would look like this:
Macrothree.jpg
Once the Greater Heal spell icon has been dragged from your spellbook to the 'command' box, RIGHT clicking on the icon
will allow you to select 'clear item' or 'target', selecting target will open a further menu where you may select 'self' 'cursor' or
'current'. If you wish this spell to heal yourself, select self. If you wish to use the spell on others or yourself select 'cursor' to
give yourself a target cursor when the macro is run.
Once the macro is created click
- Adding Actions The action box allows you to 'add actions' into your macro such as Equip, Last Object, Delay etc. Scroll
down in this box with the bar or mouse wheel to view the actions available. Drag the action icon you wish to use to the
'command' box.
** Equip Items - gives you a box/s to drag items into, eg sword and shield
** Unequip Items - opens a box with the icons as they appear on your Paperdoll. Put a cross in the box of the item you wish to
unequip and select ok. You may pick one or more items. To completely 'undress' click them all.
** War/Peace - allows you to create a macro to toggle for war and peace mode.
** Say (normal speak) - Emote (eg smiles) - Whisper (only players next to you will hear) - Yell (text speech travels further) -
all open a dialog box to type what you wish to say in.
** Last Skill - Last Spell - Last Object - are self explanatory in they let you 'use' the last skill, spell or object you used.
** Use Targeted Object -
** Target by Resource - allows you to add a tool into your macro, such as a shovel, pick or axe.
** Bow - Salute - to perform avatar actions on screen with your character.
** Open Door - assign this a hot key, you must be directly facing the door you wish to open.
** All Names - when triggered will show all names on your screen.
** Delay - opens a box with a scroll bar so you may set a delay between commands from 0-10 secs.
** Wait for Target - allows you to select a spell in command box, add the waitfortarget icon and when triggered the spell will
action and give you a cursor to allow targeting.
** Cursor Target Last - Targets the last target (inc self, does not differentiate between friendly/hostile)
** Cursor Target Current - Targets the current target in the target bar,
** Cursor Target Self -
** Target Next Friendly - toggles through any 'blue' or friendly players and puts them as 'current target'.
** Target Next Enemy - toggles through any creature you may attack and puts them as 'current target'.
** Target Next Party Member- toggles through party members and puts them as 'current target'.
** Arm/Disarm - when dragged to the command box opens a gump where you may select which item to arm or disarm. This
will toggle between the two. It does not at present allow you select more than one item, so if you wish to drop both sword and
shield it will not allow you and you will need to use the unequip and equip actions in the macro instead. The action will only
work on whatever item you are currently holding to be toggled, not to drop one item (eg sword) and equip another (eg lance)
** War - Puts you in war mode
** Peace - Puts you in Peace mode
** Pet 'say' Commands - All kill, stay, follow, come, follow me etc
** Boat Commands - Various Boat commands for raising anchors and steering etc
Assigning Hotkeys
Once made all macros appear in the Stored Macro box and you will see the 'picture' icon you selected, the macro name and 'no
key binding' which means the macro has not been assigned a hotkey. RIGHT clicking on the picture will open a box where
your macro may be cleared, edited or assigned a hotkey (used to trigger the command). Which key you select to assign a macro
to is up to you and how you like to play. Once you select Assign Hotkey you will be prompted to type in the key/s you wish to
use to trigger the macro and the 'no key binding' text will change to the key you have selected.
You may also assign hotkeys to a macro from a hotbar directly by dragging the 'macro icon' to a hotbar, right clicking on it and
selecting 'assign hotkey'
Assignicon.jpg
Hints
-
While KR is still unstable it is worthwhile to log out after creating a few small macros or after creating one large macro to
avoid losing the work if the client crashes. -
When using the Equip Item 'action', it is worthwhile to use the Unequip Item 'action' first. This ensures the part of the body
you wish to equip the item to is empty. They can be done in the same macro. For example if you wish to drop a two handed
weapon to equip a sword and shield you would: Drag theicon to command box 1, select both hands by
putting a x against them in the pop up box to ensure both hands are free, click ok, drag theicon to the
command box 2 which will open after the first command, and drag the sword and shield you wish to equip into the Equip
Items box/s and select ok.
*If you go to assign a hotkey and get the message that it is already used by another hotbar in position eg 3, you need to look at
what you have in the third box of each hotbar (custom bars are not numbered on screen) however it is most likely one of these.
You may have set a key in that box before and then moved whatever was there to another position and not changed the
assigned key. Click on the third box in each hotbar, select assign hotkey, and then ESC to remove whatever key is assigned to
that box. Obviously if an icon is doing what you want in the third box then it isn't that box causing the problem unless you are
trying to assign the same key to another macro. For further information on this see KR Hotbars
Simple Macro Examples - Step by Step
Follow the instructions below Step by Step to create these simple macros.
- Spells