WoW:API SetLookingForGroup: Difference between revisions
Jump to navigation
Jump to search
({{removedapi|3.3}}) |
m (Move page script moved page API SetLookingForGroup to API SetLookingForGroup without leaving a redirect) |
(No difference)
|
Latest revision as of 04:47, 15 August 2023
← WoW API < SetLookingForGroup
This is no longer a part of the World of Warcraft API.
|
Flags the player as looking for group for a specific destination.
SetLookingForGroup(slot, missiontype, destination)
Arguments[edit]
- 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[edit]
local slot, mtype, destination = 1,3,2; SetLookingForGroup(slot, mtype, destination); print("Now looking for ", (select(destination, GetLFGTypeEntries(mtype))), " group");
See Also[edit]
ClearLookingForGroup