How can I create a Lua-object like this:
players = {
{
pos = {x=12.43,y=6.91},
backpack = {22,54},
health = 99.71
name = "player1"
},
{
pos = {x=22.45,y=7.02},
backpack = {12,31},
health = 19.00
name = "player2"
}
}
in my C++ sourcecode with values that are taken from variables of my c++ code?
In the end it needs to be available to all scripts of course.