[SIZE=14px][FONT=arial]Hello guys, I want players to see their team each other, even on FFA. (because players can switch faction without switch race, I put the team in the db)[/FONT][/SIZE]
[SIZE=14px][FONT=arial]http://img580.imageshack.us/img580/2298/wowscrnshot040613195321.jpg[/FONT][/SIZE]
[SIZE=14px][FONT=arial]I struggled with flags, team, factions but nothing worked.[/FONT][/SIZE]
enum UnitPVPStateFlags
{
UNIT_BYTE2_FLAG_PVP = 0x01,
UNIT_BYTE2_FLAG_FFA_PVP = 0x04,
player->SetByteFlag(UNIT_FIELD_BYTES_2, 1, 0x01);
player->SetByteFlag(UNIT_FIELD_BYTES_2, 1, 0x04);
player->SetUInt64Value(PLAYER_DUEL_ARBITER, 1);
player->SetUInt32Value(PLAYER_DUEL_TEAM, 1);
[FONT=arial](with addon like shadowedunitframes it works, but everybody doesn’t have this addon, with the duel system it works too, but I couldn’t extend this)[/FONT]
[SIZE=14px][FONT=arial]Anyone already did this, has an idea for how to do it ? Is that only client side ?[/FONT][/SIZE]
[SIZE=14px][FONT=arial]Please help me.[/FONT][/SIZE]