Sets group roles for which to advertise the player in the LFG system. Passing true for a role the player's class does not support (e.g. healing on a warrior or tanking on a priest) has no effect: see example.
See also Looking for group functions.
Signature:
SetLFGRoles(leader, tank, healer, damage)
Arguments:
leader- True if the player is willing to lead a group; otherwise false (boolean)tank- True if the player is willing to take on the role of protecting allies by drawing enemy attacks; otherwise false (boolean)healer- True if the player is willing to take on the role of healing allies who take damage; otherwise false (boolean)damage- True if the player is willing to take on the role of damaging enemies; otherwise false (boolean)
Examples:
SetLFGRoles(true,true,true,true) GetLFGRoles() -- on a priest: returns true,false,true,true -- on a warrior: returns true,true,false,true