About: API GetEquipmentSetItemIDs   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

To print all items that are part of the first set: local set = GetEquipmentSetInfo(1); local itemArray = GetEquipmentSetItemIDs(set); for i=1, 19 do if itemArray[i] then print(i, (GetItemInfo(itemArray[i]))); end end NOTE: If the set is a partial set the method 'for i=1, #itemArray do' will not work, as 'i' can possibly be the wrong ids. where #itemArray returns 2, items 1, 2 may be nil and items 15, 17 may be the correct array indicies

AttributesValues
rdfs:label
  • API GetEquipmentSetItemIDs
rdfs:comment
  • To print all items that are part of the first set: local set = GetEquipmentSetInfo(1); local itemArray = GetEquipmentSetItemIDs(set); for i=1, 19 do if itemArray[i] then print(i, (GetItemInfo(itemArray[i]))); end end NOTE: If the set is a partial set the method 'for i=1, #itemArray do' will not work, as 'i' can possibly be the wrong ids. where #itemArray returns 2, items 1, 2 may be nil and items 15, 17 may be the correct array indicies
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • To print all items that are part of the first set: local set = GetEquipmentSetInfo(1); local itemArray = GetEquipmentSetItemIDs(set); for i=1, 19 do if itemArray[i] then print(i, (GetItemInfo(itemArray[i]))); end end NOTE: If the set is a partial set the method 'for i=1, #itemArray do' will not work, as 'i' can possibly be the wrong ids. where #itemArray returns 2, items 1, 2 may be nil and items 15, 17 may be the correct array indicies
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software