penumbra 4 Posted January 6, 2018 Share Posted January 6, 2018 Hello I am trying to get the bot to look for if I have spawned a Stoneclaw totem (ID for Rank 2 is 3911) But the below does not seem to work, is it become a Totem is not a WowGameObject? Thanks in advance! if (ObjectManager.GetWoWGameObjectByyId(3911).Count > 0) { // Stone Claw is up } else { // Stone Claw not up } Link to comment https://wrobot.eu/forums/topic/8196-nearby-totem/ Share on other sites More sharing options...
Matenia 630 Posted January 6, 2018 Share Posted January 6, 2018 (edited) It's not a game object, it's an NPC. So check WoWUnits. If you wanna confirm it's yours, try unit.IsMyPet or unit.SummonedBy == ObjectManager.Me.Guid Edited January 6, 2018 by Matenia penumbra and Avvi 2 Link to comment https://wrobot.eu/forums/topic/8196-nearby-totem/#findComment-37436 Share on other sites More sharing options...
penumbra 4 Posted January 6, 2018 Author Share Posted January 6, 2018 Thank you! Link to comment https://wrobot.eu/forums/topic/8196-nearby-totem/#findComment-37444 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