ISXEQ2:lootwindow (Data Type)

From ISMods Wiki


Contents

ISXEQ2 information for ISXEQ2:lootwindow (Data Type) has moved

Please see: http://eq2.isxgames.com/wiki for up-to-date content.


Description

This DataType includes all of the data available to ISXEQ2 that is related to the "loot" window.


Members

  • int NumItems
  • item Item[# or "string"]
The argument is either the index of the item within the lootwindow array, or a substring of its name
This new member will allow you to access all of the item datatype members for a given lootwindow item.
For example, you could do: "echo ${LootWindow.Item[0].Lore}"
  • bool IsLotto
  • eq2uipage ToEQ2UIpage

Methods

  • LootItem[ID#]
  • LootItem[ID#,0]
Parameter # would be the ID of the item to loot
Will by default, loot NO TRADE items!
If you wish to avoid that, then your script will need to check the item ItemIsNoTrade) and avoid looting it entirely.
OR, if you're lazy, you can give a second argument of zero to the method and it will avoid looting any no drop items. (ie, "LootWindow:LootItem[ID#,1]")
  • LootAll
  • RequestAll
  • DeclineLotto
  • LootItem
This method does not work for Lotto loot window, only for FreeForAll, LeaderOnly, or Solo.

Returns

Inherits

See Also