Page 1 of 1

How do you ...

Posted: February 3rd, 2017, 11:41 pm
by RareSeller
How do you target closest blue on UOS?

Re: How do you ...

Posted: February 4th, 2017, 12:27 am
by gonthrax
getenemy 'enemy' 'closest' 'both'
if inrange 'enemy' 10
if not @infriendlist 'found' and not @inregion 'guards' 'found'
target 'enemy'
endif
endif

Re: How do you ...

Posted: February 5th, 2017, 1:16 pm
by RareSeller
Also how do you target next party member?
Is it possible with UOS or UO client or none?

Re: How do you ...

Posted: February 5th, 2017, 6:18 pm
by gonthrax
same sort of thing, just change enemy to friend and get rid of the inregion guards bit.

Re: How do you ...

Posted: February 6th, 2017, 4:49 pm
by RareSeller
Thanks very much ... makes sense now with what you have said.

Re: How do you ...

Posted: February 6th, 2017, 4:51 pm
by RareSeller
Oh do as a after thought ... do you know what the difference is between 'closest' and 'nearest' ?

Re: How do you ...

Posted: February 6th, 2017, 5:03 pm
by The Silvertiger
I think one doesn't work, but I could be wrong.

Re: How do you ...

Posted: February 6th, 2017, 5:05 pm
by gonthrax
Closest should always return the closest entity as you execute the command multiple times.

Nearest will switch between the nearest TWO as you execute the command multiple times.

Re: How do you ...

Posted: February 7th, 2017, 1:54 pm
by RareSeller
ahhhh thanks so much Gonthrax

Re: How do you ...

Posted: February 7th, 2017, 3:07 pm
by gonthrax
RareSeller wrote:ahhhh thanks so much Gonthrax
You're welcome man (or lady)!

Re: How do you ...

Posted: February 7th, 2017, 10:34 pm
by RareSeller
gonthrax wrote:
RareSeller wrote:ahhhh thanks so much Gonthrax
You're welcome man (or lady)!
hmm man :D