View Single Post
02/07/16, 08:01 PM   #6
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by Wandamey View Post
so yes i was passing nil, but now if i display the args I got : index,index,index,index,index,bool,nil ... haven't checked the updated function yet. obviously the bool is for isUsingUniversalStyle, but the nil?
The 7th parameter is nil because there is no 7th parameter, there are only 6.
Lua Code:
  1. SMITHING.creationPanel:SetPendingSmithingItem(...)
  2. -- is called from:
  3. SMITHING.creationPanel:SetupResultTooltip(...)
and SetupResultTooltip(...) is passed the return values from: SMITHING.creationPanel:GetAllCraftingParameters() which only returns 6 values so there are only 6 parameters. See my code posts above.

Last edited by circonian : 02/07/16 at 08:05 PM.
  Reply With Quote