Pudge 24 Posted November 13, 2019 Share Posted November 13, 2019 hi, is there a c# way to targeting npcs like a lua TargetUnit()? by using this code "ObjectManager.Me.Target = ObjectManager.GetWoWUnitByName("Havenshire Stallion").First().Guid;" bot starts move straight to target and interact with them instead of just targeting Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/ Share on other sites More sharing options...
sith500 13 Posted November 13, 2019 Share Posted November 13, 2019 Use this: Interact.InteractGameObject(mobs.GetBaseAddress, false, false, true); Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/#findComment-56127 Share on other sites More sharing options...
Pudge 24 Posted November 18, 2019 Author Share Posted November 18, 2019 thanks for reply, but that is not what i need, i need targeting, not interact :) Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/#findComment-56154 Share on other sites More sharing options...
Zan 99 Posted November 18, 2019 Share Posted November 18, 2019 Without using LUA you need to use interact to target what you want to target. Otherwise look here: https://wow.gamepedia.com/API_TargetUnit Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/#findComment-56155 Share on other sites More sharing options...
Pudge 24 Posted November 18, 2019 Author Share Posted November 18, 2019 got it, thanks Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/#findComment-56156 Share on other sites More sharing options...
sith500 13 Posted November 18, 2019 Share Posted November 18, 2019 5 hours ago, nickname said: thanks for reply, but that is not what i need, i need targeting, not interact ? Left click makes target Link to comment https://wrobot.eu/forums/topic/11695-c-targeting-by-name/#findComment-56158 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