Fandom

WoWWiki

API SetLookingForGroup

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < SetLookingForGroup

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

SetLookingForGroup(slot, missiontype, destination)

ArgumentsEdit

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).

ExampleEdit

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

See AlsoEdit

ClearLookingForGroup

Also on Fandom

Random Wiki