View Single Post
09-16-05, 01:24 PM   #7
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 782
as in preset options?

hmm it may be prefereable to attempt to write a script that executes once on load of a new version and sets all those options.

You can actually put the code from the SV file into a function.

i.e.

Code:
 function LoadDefaults() 

loothog_settings = {
	 x = "5",
	 y = "15", 
}

message("All Default Settings have been loaded");
end
something like that could take care of it for you and prevent you from having to distrubte the actual sv files.

You can instruct the users to delete the mod once they've ran it to save on memory


just a thought. and cheesy example.
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
  Reply With Quote