Easyuo: FindType HS_
Posted: Sat Nov 29, 2014 10:46 pm
hi guys
i know this type is for females, and I have tried million tines to get it work but easyuo does not pick up this type.
Funny thing is that male type IS_ is always picked up, but never HS_ (female)
following is the script i try to use :
;trying to find a guildmate or blue player nearby
for %i #true #false
FindItem IS_HS_ G_ , 12
if #FindKind <> -1 && #FindRep < 3 && #FindID <> #CharID
{
event sysmessage FindID : #FindID
event sysmessage FindKind : #FindKind
event sysmessage FindType : #FindType
event sysmessage FindRep : #FindRep
event sysmessage FindDist : #FindDist
if
{
"do what i need (i have healing condition if person has 50% of current hits < maxhits"
"perform healing"
set %i #true
}
else
{
set %i #false
gosub findfriends
}
}
else {
event sysmessage no target nearby
set %i #false
return
}
my euo cannot even detect type HS_ nearby, evenif i set search range to 1 tile, move right next to the target so the distance <= 1, and run scan.
any tips guys????
//// ok i found out why lol it was simple! i had to ignore my charid before searching, or it was always finding myself first (my char type is HS_). thanks for your time guys!
i know this type is for females, and I have tried million tines to get it work but easyuo does not pick up this type.
Funny thing is that male type IS_ is always picked up, but never HS_ (female)
following is the script i try to use :
;trying to find a guildmate or blue player nearby
for %i #true #false
FindItem IS_HS_ G_ , 12
if #FindKind <> -1 && #FindRep < 3 && #FindID <> #CharID
{
event sysmessage FindID : #FindID
event sysmessage FindKind : #FindKind
event sysmessage FindType : #FindType
event sysmessage FindRep : #FindRep
event sysmessage FindDist : #FindDist
if
{
"do what i need (i have healing condition if person has 50% of current hits < maxhits"
"perform healing"
set %i #true
}
else
{
set %i #false
gosub findfriends
}
}
else {
event sysmessage no target nearby
set %i #false
return
}
my euo cannot even detect type HS_ nearby, evenif i set search range to 1 tile, move right next to the target so the distance <= 1, and run scan.
any tips guys????
//// ok i found out why lol it was simple! i had to ignore my charid before searching, or it was always finding myself first (my char type is HS_). thanks for your time guys!