Jump to content

Change target C#


alchemy
 Share

Recommended Posts

Hello!

I have 2 targets, me need force select a first target and started attack. After few second me need select a second target and start attack him.

I will try  this code but don't work.

It's questing profile, don't plugin.

Int128 target1 = 00663400002CA717202FD477E0376C80 ;

Int128 target2 = 00663400002CA717202FD477E0377C80 ;
ObjectManager.Me.Target = target1;
 Thread.Sleep(5000);
ObjectManager.Me.Target = target2;

i receive error https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/compiler-messages/cs1685 Please help me.

Link to comment
Share on other sites

Hello, 

        var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new Int128("00663400002CA717202FD477E0376C80"));
        if (o.IsValid)
            wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);

 

Link to comment
Share on other sites

5 hours ago, Droidz said:

Hello, 

        var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new Int128("00663400002CA717202FD477E0376C80"));
        if (o.IsValid)
            wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);

 

Thx mate!

Working var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new MemoryRobot.Int128("0002E600002D7A4F203AF40020255880"));

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...