help with table (savedvariabiles) - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-26-18, 08:13 PM   #1
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 17
help with table (savedvariabiles)

i need this table format :
-- [npcID] = XXX
How i add new "mapID" , or "npcID with value" to existing mapID.

I trying with:
local mapID, npcID = 999, 2222
local tmp = {[mapID] = {[npcID] = 1.1111}}
tinsert(Data, tmp)
This dont insert to existing mapID but create new array with to same mapID, and tinsert(Data[mapID], .... bad argument #1
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » help with table (savedvariabiles)

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