View Single Post
07-02-12, 01:48 PM   #42
Jarod24
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 66
GetLFGMode() now requires an input argument. Anyone worked out the details yet?

UnitIsGroupLeader()
  • Returns either true,false or the inputted name, if you input "bob" and he does not exist in your group then the string "bob" will be returned.
  • Seems that if you call UnitIsGroupLeader with "party1", "raid2" etc and you are the leader yourself then it will still return false, "player" works tho.


This seems like it's the trend with the newer functions; that they are returning true/false instead of 1/nil.

IsInRaid() --true/false
IsInGroup() --true/false, will return true if you are in a raid as well as a party