Treasure Chest problems
Posted: Thu Aug 22, 2013 12:50 am
Hello I gots me a problem.I downloaded the treasure chests by Xanathar.I follow the readme and copy the script exactly,no changes.Then I place a treasure chest with all the other bits that are required.When I open the chest,it opens fine,but when I click on it to get the items then the preview
crashes.I get this error message------->attempt to get length of field "items"(a nil value)------------ on this line of script
-------->elseif (context.chestState >= 1 and context.chestState <= #script.items) then------------ in the chest manager. Im new to this stuff
so to me that error message has(a nil value),I have no clue what it means.Any help will be greatly welcome.......Thanks
crashes.I get this error message------->attempt to get length of field "items"(a nil value)------------ on this line of script
-------->elseif (context.chestState >= 1 and context.chestState <= #script.items) then------------ in the chest manager. Im new to this stuff
so to me that error message has(a nil value),I have no clue what it means.Any help will be greatly welcome.......Thanks