Forum BigDB PreloadPlayerObjects

Discussion and help relating to the PlayerIO database solution, BigDB.

PreloadPlayerObjects

Postby Assonero » July 4th, 2011, 8:02 pm

Hito all, i have another noob question:

in the function GameStarted(), i put PreloadPlayerObjects = true;


now where this "PlayerObject" is loaded?

how i do to modify the properties in it?

example in each PlayerObject of each player, i have a property called "speed", that is an integer, and has value 20.

i simply want that when a player join the room, the serverside read the value of "speed" in his PlayerObject... then modify the value with a simple +1, and save the new value in his PlayerObject.... How i do it??

Best regards
Assonero
 
Posts: 15
Joined: June 21st, 2011, 10:22 pm

Re: PreloadPlayerObjects

Postby Henrik » July 4th, 2011, 8:39 pm

Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: PreloadPlayerObjects

Postby Assonero » July 4th, 2011, 9:47 pm

Thanks henrik for the answer you have solved it :))) i didnt find this info in the multiplayer documentation.

Thanks you are great
Assonero
 
Posts: 15
Joined: June 21st, 2011, 10:22 pm


Return to BigDB



cron