Thread Tools Display Modes
06/28/15, 09:47 AM   #1
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
GetSmithingPatternInfo()

GetSmithingPatternInfo(integer patternIndex, integer:nilable materialIndexOverride, integer:nilable materialQuanityOverride, integer:nilable ItemStyle styleOverride, integer:nilable ItemTraitType traitTypeOverride)

How do i get those "patternIndex" ?
  Reply With Quote
06/28/15, 10:06 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
It is number between 1 and GetNumSmithingPatterns(), see:

http://esodata.uesp.net/current/src/...d.lua.html#662

And if I'm not mistaken this function works only when you're interacting with crafting station (and results are for each crafitng station different).
  Reply With Quote
06/28/15, 10:37 AM   #3
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
Thumbs up

Ahhh, thanks Garkin. Thats the reason why i get only 0 on it.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » GetSmithingPatternInfo()

Thread Tools
Display Modes

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