Page 1 of 1

Remote Sync

Posted: 16 Feb 2011, 00:27
by lastowl
What would be the best way of updating the remote object from the local object?, I'm mainly after sending a string from local to remote counter part(custom scripts) Or i would be happy getting things for the remote by accessing the local

Any ideas because my solution seems unnecessary it involves saving the userID to a db each session then getting the root name for the remote and stripping out the 'remote_' part then querying the db for the username matching the session id then querying what ever info i want from there.

Posted: 16 Feb 2011, 06:52
by ThomasLund
You could possibly try to use user variables - depends on what it is exactly you are trying to do.

/Thomas

Posted: 16 Feb 2011, 12:50
by lastowl
well one example is im using the unity customised character demo and want the remote to be the same as the local what would be the best way of doing that?
thanks again for any help

Posted: 16 Feb 2011, 15:32
by ThomasLund
I'd set that via user variables on a given user. So you can save off his configuration directly using that, and read it on everyone elses client.

Listen for user variables updates so you can change looks as they decide to put on new trousers or whatever :-)

/T

Posted: 16 Feb 2011, 19:34
by lastowl
thanks ill look into that :)