Trouble is that what you have stated doesn't add up.kenzu38 wrote:What I want really is what I have stated so far.
You say you want to always check the raid leader's target but that means your main would need to always be the raid leader. So you join the butterfly raid and then say "Hey I have a handful of bots here, make me leader so I can use them" but if you don't get the raid lead then it will make any code you do useless because you are basing it on the fact you would be raid leader.
I mentioned the code needed to post in party chat order to make the party bots do things with a characters target, you just need to look in classes/party.lua and you will see it.kenzu38 wrote:Problem is, I don't know where to start. How do I make the bot evaluate a party leader's target?
It is actually very simple.
Code: Select all
local target = getTarget(charname)
if target then
-- do some fancy stuff here
target.Name
target.Type
target.X
......