Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-08-05, 03:53 PM   #1
Sathanas
A Deviate Faerie Dragon
 
Sathanas's Avatar
AddOn Author - Click to view addons
Join Date: May 2005
Posts: 15
Does my variable exist or not??!

Im flat out lost.

Im attempting to save a table into savedvariables for character-specific settings for a mod. However, theres a few problems.

First, the table seems to be in a state of limbo. I have 2 if statements checking the value of this table to determine something, and it WORKS. As in i can run my slash command that changes modes, and it works correctly, meaning the table is giving correct data to the if statement (there is no else, its one or the other so nil should do nothing, correct?)

However, in the game if i try to do /script message(Thingy[PlayerName]) the game tells me that the table is a nil value. wtf?

Whatever data is in the table is also never being saved to savedvariables.
__________________
--Sathanas
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Does my variable exist or not??!


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