Method Group:SetMemberFlag [-] [+]

Sets or removes a flag for a Group member

In multistate, this method is only available in the WORLD state

enum GroupMemberFlags
{
    MEMBER_FLAG_ASSISTANT   = 1,
    MEMBER_FLAG_MAINTANK    = 2,
    MEMBER_FLAG_MAINASSIST  = 4
};

Synopsis

Group:SetMemberFlag( target, apply, flag )

Arguments

number target

GUID of the target.

Valid numbers: integers from 0 to 18,446,744,073,709,551,615.

boolean apply

Add the flag if true, remove the flag otherwise.

GroupMemberFlags flag

The flag to set or unset.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine