ISXEQ2:LootWindow (Top-Level Object)
From ISMods Wiki
Contents |
[edit]
ISXEQ2 information for ISXEQ2:LootWindow (Top-Level Object) has moved
[edit]
Please see: http://eq2.isxgames.com/wiki for up-to-date content.
[edit]
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). (If you have no loot windows up, then it returns NULL)
[edit]
Forms
- lootwindow LootWindow
[edit]
Examples
- echo ${LootWindow.NumItems}
- LootWindow:LootAll
- A loop to make sure all chests are looted
AddTrigger acceptloot LOOTWINDOW::LOOTWINDOW
.
.
.
function acceptloot()
{
do
{
wait 1
LootWindow:RequestAll
}
while ${LootWindow(exists)}
}
[edit]
