Gilderoy
New Member
- Joined
- May 10, 2010
- Messages
- 761
- Reaction score
- 16
Hi all!
So, me and sm0k3d are developing Ultimate Paladin Healer.
For now it only work on english client couse we are forced to use LUA scripting for 3 matters.
one of those matters are understanding what role a player in our party/raid is.
as of today we are using this
is there any way to do the same thing without using a lua.getreturnvalues call? (that is leanguage dependent)
So, me and sm0k3d are developing Ultimate Paladin Healer.
For now it only work on english client couse we are forced to use LUA scripting for 3 matters.
one of those matters are understanding what role a player in our party/raid is.
as of today we are using this
Code:
private bool IsTank(WoWPlayer p)
{
if (p != null)
{
return Lua.GetReturnValues("return UnitGroupRolesAssigned('" + DeUnicodify(p.Name) + "')").First() == "TANK";
}
else return false;
}