Help for Orion

Don't know how something works? Here you will find some useful links. And if you have a question, feel free to ask.
Post Reply
thomorn
Passer by
Posts: 4
Joined: Tue Dec 06, 2022 2:43 pm

Help for Orion

Post by thomorn »

Hi Guys I need help I have this auto attack script who can help me to make it work.


P.S. Thank you


function attackMob()
cast 'consecrate weapon'
for 12
@getenemy! 'murderer' 'enemy' 'criminal' 'gray' 'closest'
if @findobject! 'enemy'
if 'mana' > 32
@setability! 'primary' 'on'
endif
if not targetexists 'any'
autotargetobject! 'enemy'
endif
@attack 'enemy'
endif
if stam < 290
cast "Divine Fury"
elseif stam >= maxstam
endif
pause 1000
@clearusequeue
@cancelautotarget
@canceltarget
endfo
In Game Paride [FB]
ZeeeQi
Adept Scribe
Posts: 40
Joined: Tue Aug 03, 2021 2:35 am

Re: Help for Orion

Post by ZeeeQi »

Hello, that's not Orion code, thats UOSteam code....
thomorn
Passer by
Posts: 4
Joined: Tue Dec 06, 2022 2:43 pm

Re: Help for Orion

Post by thomorn »

Ha ok ty

As usual [redacted] figure
In Game Paride [FB]
Geriatric
Legendary Scribe
Posts: 234
Joined: Thu Dec 08, 2022 4:51 am

Re: Help for Orion

Post by Geriatric »

i dont think you need the last two lines
@canceltarget
endfo


infact i think the cancel target may make you drop the target your currently attacking


but its for UOsteam
Last edited by Geriatric on Tue Feb 28, 2023 9:32 pm, edited 1 time in total.
Geriatric
Legendary Scribe
Posts: 234
Joined: Thu Dec 08, 2022 4:51 am

Re: Help for Orion

Post by Geriatric »

function attackMob()
cast 'consecrate weapon'
for 12
@getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
autotargetobject! 'enemy'
@attack 'enemy'
endif
if 'mana' > 32
@setability! 'primary' 'on'
endif
if not targetexists 'any'
autotargetobject! 'enemy'
endif
@attack 'enemy'
endif
if stam < 290
cast "Divine Fury"
elseif stam >= maxstam
endif
pause 1000
@clearusequeue
@cancelautotarget


try giving that a go and see how you do
thomorn
Passer by
Posts: 4
Joined: Tue Dec 06, 2022 2:43 pm

Re: Help for Orion

Post by thomorn »

Yes, Zeeeqi did it to me, but for Uosteam I have a macro that I ride well, but I discovered Orion is I would like to try it but without experience of writing the code I entrusted to what I found on the net (making a fool) xD
In Game Paride [FB]
Post Reply