WoW:API SetLookingForGroup: Difference between revisions
Jump to navigation
Jump to search
m
Move page script moved page API SetLookingForGroup to WoW:API SetLookingForGroup without leaving a redirect
(Removed commentary) |
m (Move page script moved page API SetLookingForGroup to WoW:API SetLookingForGroup without leaving a redirect) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | {{wowapi}}__NOTOC__ {{removedapi|3.3}} | ||
Flags | Flags the player as looking for group for a specific destination. | ||
SetLookingForGroup( | SetLookingForGroup(slot, missiontype, destination) | ||
== | ==Arguments== | ||
: Number | ; slot: Number - Slot index (1 to 3); there are three LFG slots, so you can look for groups for three different destinations. | ||
: Number | ; missiontype: Number - Type index, corresponding to an entry in the {{api|GetLFGTypes}}() return list; the current types are "None", "Dungeon", "Raid", "Quest (Group)", "Zone", "Heroic Dungeon" | ||
: Number | ; destination: Number - Destination index within the mission type -- this would be the specific zone or instance index acquired from {{api|GetLFGTypeEntries}}(missiontype). | ||
==Example== | |||
local slot, mtype, destination = 1,3,2; | |||
SetLookingForGroup(slot, mtype, destination); | |||
print("Now looking for ", (select(destination, GetLFGTypeEntries(mtype))), " group"); | |||
==See Also== | |||
ClearLookingForGroup | |||
* [[API ClearLookingForGroup|ClearLookingForGroup()]] | |||
* [[API GetLookingForGroup|GetLookingForGroup()]] | |||
* [[API SetLFGComment|SetLFGComment()]] | |||
SetLFGComment( | |||