Page 1 of 1

Help for Orion

Posted: Mon Feb 27, 2023 11:28 am
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

Re: Help for Orion

Posted: Mon Feb 27, 2023 3:29 pm
by ZeeeQi
Hello, that's not Orion code, thats UOSteam code....

Re: Help for Orion

Posted: Mon Feb 27, 2023 3:55 pm
by thomorn
Ha ok ty

As usual [redacted] figure

Re: Help for Orion

Posted: Tue Feb 28, 2023 9:29 pm
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

Re: Help for Orion

Posted: Tue Feb 28, 2023 9:31 pm
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

Re: Help for Orion

Posted: Wed Mar 01, 2023 8:02 am
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