Jump to content

Recommended Posts

            // Get tank
            WoWPlayer tank = 

            // Get target
            WoWUnit target = tank.TargetObject;

            // Select target
            Interact.InteractGameObject(target.GetBaseAddress);

            // Do Spell

This is a quick and dirty example. Hope it helps.

               var tank = getTanks();
                WoWUnit target = ;
                Interact.InteractGameObject(target.GetBaseAddress);
                _wrath.Launch();

 

now i got the tank but then i can't get it to find the target... if i tried to use wowplayer then it threw shit ton of error. 

EAA1H7G.png

var tank = getTanks();
WoWUnit target = ;
Interact.InteractGameObject(target.GetBaseAddress);
_wrath.Launch(); 

Thats why i said don't use var ^_-

// Get all available tanks
List<WoWPlayer> tankList = getTanks();

// Get the first tank in the list
WoWPlayer tank = tankList.First();

// Get the target of the tank
WoWUnit target = tank.TargetObject;

// Focus at target
Interact.InteractGameObject(target.GetBaseAddress, true);

// Use the skill
_wrath.Launch();

It is way essiert to read ^_-

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...