Ok.. I can write a script which runs on the server but how to write a some other script script read value from this script?
On Mon, Apr 23, 2012 at 10:20 PM, Toni Alatalo <[email protected]> wrote: > On Apr 23, 2012, at 7:46 PM, Vaibhav Vaidya wrote: > > I tried this also. I created a simple script which increments the time > attribute by some amount but the problem is that if I choose run mode to > server, the script doesn't execute. And, if I choose run mode to both, the > second client gets initialized with some initial value and it starts > increment from that value and hence, not synchronized with the previously > connected client. > > > Perhaps the server doesn't run with SkyX as it needs shaders etc? > > If that's the case, one solution is to have a abstract server side script > that only does the incrementing, and then another script on the client side > that reads those values and puts them to SkyX. > > Vaibhav > > > ~Toni > > On Mon, Apr 23, 2012 at 7:38 PM, Ali Kämäräinen <[email protected]>wrote: > >> Hi, >> >> Set 'timeMultiplier' to 0 and use the 'time' attribute to synchronize the >> time between all participants. The changes that the time multiplier does >> for the 'time' attribute are not replicated as it would produce substantial >> amount of the network traffic. If you want to animate the time, you can >> create a simple script that increments the time attribute, say, each 10 >> seconds. >> >> Grey skies, >> Ali Kämäräinen >> >> -- >> http://groups.google.com/group/realxtend >> http://www.realxtend.org > > > > -- > http://groups.google.com/group/realxtend > http://www.realxtend.org > > > -- > http://groups.google.com/group/realxtend > http://www.realxtend.org > -- http://groups.google.com/group/realxtend http://www.realxtend.org
