thanks again,but i have three questions
1.Interact GameObject is locked ,so return false?
2.i use the GetNearestWoWGameObject to search,but i find it's radius is less than devementTool 's "getobjects", so how to set the search radius?and this api return empty object or null when not find?
3.i use this code to find attack target in partymember's target,but some times ,but not find,all partymeber is attacking,i am not.
i use robot in island,i use the Party.GetPartyNumberPlayers() it's empty,is must use GetPartyNumberPlayers(PartyCategoryType.LE_PARTY_CATEGORY_INSTANCE),so the IsTargetingPartyMember include homeandinstance?
GetObjectWoWUnit(). FirstOrDefault(u => u.Reaction != Reaction.Friendly &&
u.Type != WoWObjectType.Player &&
u.IsTargetingPartyMember