Page 1 of 1

[Razor] Attack/Claim Macro

Posted: Thu Apr 05, 2012 7:11 pm
by Devlin
Create a new macro in razor, close down UO, open up the macro you created and save this code into the .txt.

If you don't claim quick enough, change the wait to .333 or so.

Code: Select all

Assistant.Macros.HotKeyAction|1515|
Assistant.Macros.HotKeyAction|1395|
Assistant.Macros.HotKeyAction|1332|
Assistant.Macros.SpeechAction|0|956|3|ENU|2|16|9|[claim
Assistant.Macros.PauseAction|00:00:00.5550000
Assistant.Macros.TargetTypeAction|False|8198
If you cannot figure out how/where to place this code, you can create a new one from scratch.
Target Closest Non-friendly
Attack last target
Cancel current target
say: [claim
pause .56 sec
target by type corpse

to get the target by type corpse function, cast a spell, hit record in razor and select a corpse. Then right click the target function you just added and change it to "target by type"

NOTE: Target closest non friendly is the best option for auto targetting.
NOTE2: CANCEL CURRENT TARGET NEEDS TO STAY IN THE SCRIPT. Without CCT, you will still have the enemy targetted, meaning if you try to heal, you will cast on the monster, not yourself

Re: [Razor] Auto Attack/Claim Macro

Posted: Wed Nov 07, 2012 12:57 pm
by Devlin
Bump and request for sticky

Re: [Razor] Attack/Claim Macro

Posted: Sat Dec 15, 2012 11:59 pm
by Old Fart
I can not locate the .txt file you speak of? i have looked in the razor file folder and non exist there.

Re: [Razor] Attack/Claim Macro

Posted: Sun Dec 16, 2012 3:22 am
by Ilsanor
There is no .txt file. Razor macros get saved as "macroname.macro". You open and edit these with notepad or whatever.

For example you create a macro named AttackClaim in UO. Exit the game. Find the file AttackClaim.macro in Razor\Macros folder. Open the file in notepad, paste in the code, save and close. Fire up UO and enjoy your new macro.

Alternatively you may create a .txt file in the folder, paste in the code, rename to *.macro and you're good to go as well.

Re: [Razor] Attack/Claim Macro

Posted: Sun Sep 15, 2013 7:49 pm
by moome1649
Hi i tried following the directions on how to make the script work. made a macro folder in razor. copied the code and saved in the folder. When i launch razor, how come the macro still does not show up. Even though I tried making one from scratch I cant find the "Target Closest Non-friendly" please help thank you

Re: [Razor] Attack/Claim Macro

Posted: Sun Sep 15, 2013 11:28 pm
by Aryanna Conners
moome1649 wrote:Hi i tried following the directions on how to make the script work. made a macro folder in razor. copied the code and saved in the folder. When i launch razor, how come the macro still does not show up. Even though I tried making one from scratch I cant find the "Target Closest Non-friendly" please help thank you
folder is probably in your appdata folder on newer windows. add it to the macros folder in there.