Get a variable from not yet spawned object

And how do I assign the numbers to the objects?