| SexScripts : Properties with multiple . characters not being saved - https://ss.deviatenow.com:443/viewtopic.php?f=6&t=987 | Page 1 of 1 |
Properties with multiple . characters not being saved |
arthurb [ Sun Aug 02, 2020 10:08 pm ] |
|---|---|
If you have a propery named e.g. scriptname.thing1.thing2=0 It doesn't get saved in the properties file Whereas scriptname.thing1=0 is OK Seems to be a regression in as it is OK in an older version. I had a folder with an old 2016 version in it which I notcied had the problem when I upgraded it to 2020, and I use this convention in one of my monster scripts to help group properties together. |
|
Re: Properties with multiple . characters not being saved |
arthurb [ Wed Aug 12, 2020 7:28 am ] |
|---|---|
I get a little nag pop up for being on an old SexScripts version Do properties have to be of the format scriptname.propertyname i.e. only one . is allowed? I sometimes use scriptname.propertyname.subpropertyname SexScripts used to allow more .'s but maybe I missed a change. If only one . is allowed, then I will need to update my scripts to get onto the latest version. Or is this something Doti can add back into SexScripts? |
|
Re: Properties with multiple . characters not being saved |
doti [ Wed Aug 12, 2020 8:37 pm ] |
|---|---|
No, you can add multiple dots to the property name. I tested succesfully this code : Code: save("scriptname.thing1.thing2", 0) Perhaps you did this, the result changed in v1.25 (2018) : Code: save("scriptname.thing1.thing2", 0)
save("scriptname.thing1", 0) // now erase everything |
|
Re: Properties with multiple . characters not being saved |
arthurb [ Wed Aug 12, 2020 9:41 pm ] |
|---|---|
Thanks, Yes, that would be it. So I could update to not use "scriptname.thing1" and to a global replace of e.g. "scriptname.thing1" "scriptname.thing1.something" I will give it a try |
|
Re: Properties with multiple . characters not being saved |
arthurb [ Thu Aug 13, 2020 3:28 pm ] |
|---|---|
Thanks for the reply Doti, it was very useful to know what the nature of the change was so I could make the right modification to my scripts. I did the update I suggested above and am now good and working on the latest SexScripts version |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |