79135 4 Posted February 14, 2019 Share Posted February 14, 2019 Hello, why bot dont see the unit when i use CreatureTypeTarget? Without CreatureTypeTarget work is good. Unit is 100% Humanoid. var unit = ObjectManager.GetWoWUnitAttackables() .Where(o => o.GetDistance < 6 && o.CreatureTypeTarget == "Humanoid" && o.IsAlive).OrderBy(o => o.GetDistance).FirstOrDefault(); Link to comment https://wrobot.eu/forums/topic/10809-dont-check-any-condition/ Share on other sites More sharing options...
Mykoplazma 24 Posted February 14, 2019 Share Posted February 14, 2019 Creature type target is returning value only when you have the target on your target or focus. Link to comment https://wrobot.eu/forums/topic/10809-dont-check-any-condition/#findComment-51524 Share on other sites More sharing options...
79135 4 Posted February 14, 2019 Author Share Posted February 14, 2019 49 minutes ago, Mykoplazma said: Creature type target is returning value only when you have the target on your target or focus. ohh, sure.. how check without target only in range? Link to comment https://wrobot.eu/forums/topic/10809-dont-check-any-condition/#findComment-51527 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now