WoW:API SetLookingForGroup: Difference between revisions

m
Move page script moved page API SetLookingForGroup to WoW:API SetLookingForGroup without leaving a redirect
(wiki syntax fix)
m (Move page script moved page API SetLookingForGroup to WoW:API SetLookingForGroup without leaving a redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}__NOTOC__
{{wowapi}}__NOTOC__ {{removedapi|3.3}}
Flags yourself as LFG <br>
Flags the player as looking for group for a specific destination.
  SetLookingForGroup(interfacerow, missiontype, destination)
  SetLookingForGroup(slot, missiontype, destination)


===Takes===
==Arguments==
; Number interfacerow: The LFG interface has 3 rows (You can look for 3 things), this number indicates which one (1 to 3)
; slot: Number - Slot index (1 to 3); there are three LFG slots, so you can look for groups for three different destinations.
; Number missiontype: The type is None/Dungeon/Raid/Quest(group)/Zone/Heroic Dungeon and the value is accordingly, ie 3=raid
; 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: The submenu of valid choices for that missiontype and the characters level, if type is 3 and the character is level 70 then 6 would be Karazhan
; destination: Number - Destination index within the mission type -- this would be the specific zone or instance index acquired from {{api|GetLFGTypeEntries}}(missiontype).


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


===Example===
==See Also==
SetLookingForGroup(1, 3, 6)
ClearLookingForGroup
 
* [[API ClearLookingForGroup|ClearLookingForGroup()]]
===See Also===
* [[API GetLookingForGroup|GetLookingForGroup()]]
* [[API GetLookingForGroup|GetLookingForGroup()]]
* [[API SetLFGComment|SetLFGComment()]]
* [[API SetLFGComment|SetLFGComment()]]
Anonymous user