WoW:API GetLootMethod: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 2: Line 2:
'''arg1''' -- the loot method.("freeforall", "roundrobin", "master", "group", "needbeforegreed")<br>
'''arg1''' -- the loot method.("freeforall", "roundrobin", "master", "group", "needbeforegreed")<br>
'''arg2''' -- (only used for "master") returns the looter index, or nil. If the master looter is in your party (not always true in a raid) then it will return 0 for yourself, or >0 for another party member. If the master looter is NOT in your party it will return nil.
'''arg2''' -- (only used for "master") returns the looter index, or nil. If the master looter is in your party (not always true in a raid) then it will return 0 for yourself, or >0 for another party member. If the master looter is NOT in your party it will return nil.
[[Category:API Functions|GetLootMethod]]
[[Category:API Loot Functions|GetLootMethod]]
[[Category:API Group Functions|GetLootMethod]]

Revision as of 18:47, 29 August 2005

Returns the currently active loot method.
arg1 -- the loot method.("freeforall", "roundrobin", "master", "group", "needbeforegreed")
arg2 -- (only used for "master") returns the looter index, or nil. If the master looter is in your party (not always true in a raid) then it will return 0 for yourself, or >0 for another party member. If the master looter is NOT in your party it will return nil.