Post by Buring:NotThePoor! on Jan 16, 2006 23:28:29 GMT -5
hey vith if u need it done i can make all that crap in to en install exe or a zip that will put every thing in the right folder, but you should know how to do that if not yer getting it in class tomorrow morning
Just realized part of the trouble I was having... and it's retarded.
UnitInRaid() doesn't accept name as input, it accepts "unit". "unit" cannot refer to a target by name, but rather by it's relation to you. (target, mouseover, party/raid member x, etc.) Looks like I'm going to have to make it target everyone one by one if I want to test if they're already in the group or not... it might be easier to find a way to just suppress the "target is already in a group" message.
God damn blizzard's API.
Last Edit: Jan 17, 2006 7:33:11 GMT -5 by Vithigar
Heh, you should've been on TS last night when Aph and I were talking about this. Dread was there too, and interjected with "Wow, all of a sudden I feel really stupid..."
I would like to make some part of the script recognize when a person joins a game in progress and automatically invite them, but there isn't any (documented) event announced when a player enters a battleground. To that end, I'm going to have to whip up some code that just spams me with the event names of everything that's happening and see what pops up. Yay.
Also, pie is good.
Last Edit: Jan 17, 2006 8:42:52 GMT -5 by Vithigar
I would imagine if Damage Meters can screen scrape and get all the damage info from the little box, there is a way you could get that info when someone joins the battle.
Also, peanut butter pie is the best.
Whoever appeals to the law against their fellow man is either a fool or a coward. Whoever cannot take care of himself without that law is both. For a wounded man shall say to his assailant, “If I live, I WILL KILL YOU. If I die, you are forgiven”. Such is the rule of honor.