SexScripts : Global Methods and Variables? - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=755 Page 1 of 1

Global Methods and Variables?

vladl [ Thu Apr 12, 2018 11:09 am ]

Assumed that my tease is separated in multiple scripts but I got some methods which I would like to use in every script. Do I have to define those methods in every script itself or is there a way to define them in one place only and use it from all scripts of the tease?

Same question for variables. To share data between scripts of one tease do I have to use the persistent data.properties with save(...) and loadXYZ(...) or is there a way to define global variables like in java which can be shared between multiple instances of classes?

Re: Global Methods and Variables?

doti [ Thu Apr 12, 2018 5:34 pm ]

Your scripts parts are considered a some independent scripts, so you have to use some load/save code to share data between them.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011