Jump to content

Command to party By Party Chat


saleh
 Share

Recommended Posts

Hello,

To interact with current target of party leader use csharp code:

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); }

To interact with nearest npc:

if (wManager.Wow.Helpers.Party.IsInGroup()) { wManager.Wow.Helpers.Interact.InteractGameObject(wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()).GetBaseAddress); }

 

Link to comment
Share on other sites

8 hours ago, betterSister said:

doens't work for me on wotlk. None of my bots in party do anything when i say any command that is configurated like "gohome", "pause"

I have tested the two codes and this works on wotlk.

Link to comment
Share on other sites

10 hours ago, saleh said:

hello

i have a qustion about this plugin

 

how can i use /w to give slave toon command not Party chat ?

Thanks

Edit "Party chat command.cs" with notepad and replace (line 35):

(int)msg.Channel == 49 || msg.Channel == ChatTypeId.PARTY

by

msg.Channel == ChatTypeId.WHISPER

 

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