Thread Tools Display Modes
Prev Previous Post   Next Post Next
12/17/16, 10:02 PM   #1
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Results from Built-In Functions

I'm sure this has a very simple answer, but: How do I choose just a piece of the return from ZoS functions that have multiple? I thought it might be a table, but doing it that way didn't work.

For example (from the wiki):
GetItemLinkTraitInfo(string itemLink)
Returns: number ItemTraitType traitType, string traitDescription, number traitSubtype, string traitSubtypeName, string traitSubtypeDescription

If I wanted just the trait subtype, how would I write that?
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Results from Built-In Functions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off