|
Tsukasa Sakai
Registered User
Join date: 13 Oct 2006
Posts: 16
|
10-16-2006 02:56
Hi everyone,
I have created an object, with a few scripts, that I would like to sell. I'd like buyers to be able to edit a "configuration" script (e.g. colors, text, etc) to modify the item, but I don't want them to see the actual scripts themselves, or textures or other items contained in the object.
How would I go about doing this?
Thank you in advance,
Tsukasa Sakai
|
|
HtF Visconti
Registered User
Join date: 21 Jul 2006
Posts: 123
|
10-16-2006 03:24
Easy: Use a notecard 
|
|
Auron Reardon
Registered User
Join date: 30 Jun 2006
Posts: 41
|
10-16-2006 05:23
You can use a notecard to persist the configuration data. Put a notecard in the inventory along with your script and come up with a structure for you data on a line by line basis as in: color: red enabled: true Then, from your script, you can retrieve the notecard lines using the dataserver functions and parse the text. http://rpgstats.com/wiki/index.php?title=Dataserver
|