WoW:API SetLookingForGroup: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Removed commentary)
mNo edit summary
Line 14: Line 14:
missiontype<br>
missiontype<br>
<br>
<br>
The type is None/Dungeon/Raid/Quest(group)/Zone/Heoric Dungeon and the avlue is accordingly, ie 3=raid
The type is None/Dungeon/Raid/Quest(group)/Zone/Heroic Dungeon and the value is accordingly, ie 3=raid


destination<br>
destination<br>
Line 24: Line 24:
===Returns===
===Returns===
: Nothing
: Nothing
===Details===
Use in combination with SetLFGType and SetLFGComment




===Example===
===Example===
<dl><dd>
<dl><dd>
SetLFGType(1, 3)
SetLookingForGroup(1, 3, 6)<br>
SetLookingForGroup(1, 3, 6)
SetLFGComment("Daddy needs purples")
 


;Looking for raid group for Karazhan
===See Also===
[[API GetLookingForGroup|GetLookingForGroup()]]<br>
[[API SetLFGComment|SetLFGComment()]]
</dd></dl>
</dd></dl>

Revision as of 23:55, 11 January 2009

WoW API < SetLookingForGroup

Flags yourself as LFG

SetLookingForGroup(Interfacerow, missiontype, destination)

Takes

Number Interfacerow
Number missiontype
Number destination

Interfacerow

The LFG interface has 3 rows (You can look for 3 things), this number indicates which one (1 to 3)

missiontype

The type is None/Dungeon/Raid/Quest(group)/Zone/Heroic Dungeon and the value is accordingly, ie 3=raid

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


Returns

Nothing


Example

SetLookingForGroup(1, 3, 6)

See Also

GetLookingForGroup()
SetLFGComment()