Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API SetLookingForGroup

From Wowpedia
Jump to: navigation, search

Flags the player as looking for group for a specific destination.

SetLookingForGroup(slot, missiontype, destination)

Arguments

slot
Number - Slot index (1 to 3); there are three LFG slots, so you can look for groups for three different destinations.
missiontype
Number - Type index, corresponding to an entry in the GetLFGTypes() return list; the current types are "None", "Dungeon", "Raid", "Quest (Group)", "Zone", "Heroic Dungeon"
destination
Number - Destination index within the mission type -- this would be the specific zone or instance index acquired from GetLFGTypeEntries(missiontype).

Example

local slot, mtype, destination = 1,3,2;
SetLookingForGroup(slot, mtype, destination);
print("Now looking for ", (select(destination, GetLFGTypeEntries(mtype))), " group");

Patch changes

See also

ClearLookingForGroup