January 6, 20188 yr 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 }
January 6, 20188 yr 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, 20188 yr by Matenia
Create an account or sign in to comment