April 29, 20206 yr How would I go about determining the distance between one of my totems and my target? I want to be able to ensure that the distance between my Searing Totem and my current target is less than 30 to ensure that the totem can hit my current target.
April 29, 20206 yr Find totem in objectmanager by name or entry, then confirm it's your pet (IsMyPet property) and check unit.Position.DistanceTo(ObjectManager.Target.Position) <= 30
Create an account or sign in to comment