jeste309 0 Posted March 26, 2018 Share Posted March 26, 2018 When i use the code: WoWObject obj1= wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()); uint address = obj1.GetBaseAddress; "wManager.Wow.Helpers.Interact.InteractGameObject(address, true, true);" The bot Target the monster then autoattack. How can i target the monster but not attack , just target the enemy. What api shoud i use. Link to comment https://wrobot.eu/forums/topic/8968-how-can-i-target-monster-by-wowobjectgetbaseaddress/ Share on other sites More sharing options...
Droidz 2742 Posted March 26, 2018 Share Posted March 26, 2018 Hello, if you play in legion, you can: wManager.Wow.Helpers.Interact.InteractGameObject(address, true, true, true); bool InteractGameObject(Ptr baseAddress, bool stopMove = false, bool skipWaitTime = false, bool leftClick = false) Link to comment https://wrobot.eu/forums/topic/8968-how-can-i-target-monster-by-wowobjectgetbaseaddress/#findComment-41737 Share on other sites More sharing options...
Matenia 630 Posted March 26, 2018 Share Posted March 26, 2018 Depending on what you want to do, it should also be possible to do: ObjectManager.Me.Target = obj1.Guid; Link to comment https://wrobot.eu/forums/topic/8968-how-can-i-target-monster-by-wowobjectgetbaseaddress/#findComment-41738 Share on other sites More sharing options...
jeste309 0 Posted March 27, 2018 Author Share Posted March 27, 2018 15 hours ago, Matenia said: Depending on what you want to do, it should also be possible to do: ObjectManager.Me.Target = obj1.Guid; I have tested this methord, bot can target then move and attack the obj. I just want target the obj whithout attack, have any other methord i can target the obj? Link to comment https://wrobot.eu/forums/topic/8968-how-can-i-target-monster-by-wowobjectgetbaseaddress/#findComment-41769 Share on other sites More sharing options...
Matenia 630 Posted March 27, 2018 Share Posted March 27, 2018 5 hours ago, jeste309 said: I have tested this methord, bot can target then move and attack the obj. I just want target the obj whithout attack, have any other methord i can target the obj? This method ONLY sets the target. If you have your bot set to grind and you are targeting the type of mob that you've set as a target, the bot might decide for itself to "start a fight". Try doing whatever you're doing in a quester or call Fight.StopFight() right after. Link to comment https://wrobot.eu/forums/topic/8968-how-can-i-target-monster-by-wowobjectgetbaseaddress/#findComment-41779 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