Hey,
This is my cloud script. i set a rule thats run every creation of new user - just to test it out.
handlers.createUserDefaultValues = function (args, context) { entity.SetObjects( { Entity: { Type:"title_player_account", Id: currentPlayerId }, Objects: [{ ObjectName: "Test1", DataObject: "Blah" }, { ObjectName: "Test2", DataObject: [ 1, 2, 3 ] } ] }); }
somehow its not working and i dont know why.
any idea?