LootWindow (Top-Level Object)¶
- Table of contents
- LootWindow (Top-Level Object)
- Description
- Forms
- Examples
Description¶
Retrieves a loot window object from the game world.
This TLO returns the last loot window opened (or the only one, if you only have one loot window up), or the loot window that corresponds with a specific ID as supplied by the EQ2_onLootWindowAppeared event. (If you have no loot windows up, then it returns NULL.)
Forms¶
- eq2lootwindow LootWindow
- eq2lootwindow LootWindow[ID#]
Examples¶
- echo ${LootWindow.NumItems}
- LootWindow[${LootWindowID}]:LootAll
- An example to make sure all chests are looted:
AddTrigger acceptloot LOOTWINDOW::LOOTWINDOW
.
.
.
function acceptloot()
{
do
{
wait 1
LootWindow:RequestAll
}
while ${LootWindow(exists)}
}