Jump to content

Recommended Posts

hi

iis there any command to open guild chest 

for party chat command plugin

 

or a code to interact with object like this One

if (wManager.Wow.Helpers.Party.IsInGroup()) { wManager.Wow.Helpers.Interact.InteractGameObject(new wManager.Wow.ObjectManager.WoWPlayer(wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetPartyLeaderGUIDHomeAndInstance()).GetBaseAddress).TargetObject.GetBaseAddress); }

 

i need to make charters open guild chest item number  206602

 

Thanks

Link to comment
https://wrobot.eu/forums/topic/3759-party-chat-command-to-guild-bank/
Share on other sites

Hello, use this c# code:

if (wManager.Wow.Helpers.Party.IsInGroup())
{
    var o = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWGameObject(wManager.Wow.ObjectManager.ObjectManager.GetWoWGameObjectByName("Guild Chest"));
    if (o.IsValid)
    {
        wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress, true);
    }
}

(replace "Guild Chest" by game object name how is appear in game (you can get object name when you put mouse over)

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...