Quantcast Regarding table in savedVariables - WoWInterface
Thread Tools Display Modes
07-08-18, 10:53 PM   #1
myName
A Deviate Faerie Dragon
 
myName's Avatar
Join Date: Jul 2018
Posts: 10
Regarding table in savedVariables

Let me just start by saying I am a complete noob to Lua. I would like to save bits of information by using a slash command to add to a table in savedVariables. First off is editing of the table I have in savedVariables even possible? Do I need to load the table into the script before use?

Edit: I apologize, I just realized I posted this in the wrong section, sorry.

Last edited by myName : 07-08-18 at 10:58 PM.
  Reply With Quote
07-08-18, 11:41 PM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Take a look here ... https://wow.gamepedia.com/Saving_var..._game_sessions
The stored global variable can be a table and can be changed later.
__________________
The cataclysm broke the world ... and the pandas could not fix it!

Last edited by Rilgamon : 07-08-18 at 11:49 PM.
  Reply With Quote
07-09-18, 12:14 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,545
Originally Posted by myName View Post
Edit: I apologize, I just realized I posted this in the wrong section, sorry.
Moved for you.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
07-10-18, 06:24 PM   #4
myName
A Deviate Faerie Dragon
 
myName's Avatar
Join Date: Jul 2018
Posts: 10
Originally Posted by Rilgamon View Post
Take a look here ... https://wow.gamepedia.com/Saving_var..._game_sessions
The stored global variable can be a table and can be changed later.
Thank you for the link.

Originally Posted by Seerah View Post
Moved for you.
Thank you for moving the thread.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Regarding table in savedVariables

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