ScriptUO

Scripting Resources & Utilities => UOSteam => UOSteam scripts => Topic started by: scribleofbaja on July 11, 2014, 03:25:22 PM

Title: UOSteam Auto Attack
Post by: scribleofbaja on July 11, 2014, 03:25:22 PM
This is something I created to help quickly attack without the
need of always double clicking. Very rarely do I have to use
double click any more. I use it with middle mouse button.
I do not PvP so not sure about reds. For PvM it does the job well.
Enjoy!

Code: [Select]
@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  attack! 'enemy'
endif
@clearusequeue
@cancelautotarget
Title: Re: UOSteam Auto Attack
Post by: TheEnd on July 19, 2014, 03:34:49 AM
Works nice, thanks.

PS: ban news for the UOS close.
Title: Re: UOSteam Auto Attack
Post by: Crome969 on July 19, 2014, 07:55:31 AM
You have a proof?
Title: Re: UOSteam Auto Attack
Post by: gimlet on July 19, 2014, 08:46:52 AM
I think he meant bad news
Title: Re: UOSteam Auto Attack
Post by: troyboy731 on October 14, 2015, 04:10:18 AM
Awesome script!! Thanks
Title: Re: UOSteam Auto Attack
Post by: Vlek on November 19, 2015, 10:50:38 AM
This is something I created to help quickly attack without the
need of always double clicking. Very rarely do I have to use
double click any more. I use it with middle mouse button.
I do not PvP so not sure about reds. For PvM it does the job well.
Enjoy!

Code: [Select]
@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  attack! 'enemy'
endif
@clearusequeue
@cancelautotarget

You got some weird stuff happening in there. Honestly, this is all you need:
Code: [Select]
@getenemy 'enemy' 'gray' 'criminal' 'murderer' 'humanoid' 'closest'
//If it's the case that our enemy is on screen,
if @inrange 'enemy' 16
  attack 'enemy'
endif
Title: Re: UOSteam Auto Attack
Post by: S1m0n on March 08, 2016, 12:06:49 AM
Hi all,
I read the macro for Razor that is very similar to this one.
But it was a little better because

"When you press the hotkey for this macro when you have the target cursor up (eg. When using a skill, like discord), what this macro does is attack the target while using the skill."
"When I am facing a multiple foes, I would first hit a hotkey for discordance, then when the target cursor is up, I'd press the hotkey for this macro to use the skill on the nearest enemy."

But here it does not work.
Cursor for Discordance is still up and nothing happening (just the weapon attack)
Any solutions ?

Sorry for my bad English.
Simon from Slovakia.
Title: Re: UOSteam Auto Attack
Post by: S1m0n on March 31, 2016, 10:04:48 PM
And the mentioned macro in action. (The Razor)



But i cant still figure out how to make it for Assist UO ...