lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Timur Davidenko wrote:
Table = {
            <UIWidget="slider" UIMin=0 UIMax=100>
            Radius = 10,
<UIWidget="EntitySelector">
            TargetName = "MyName",
<UIWidget="Color">
            Color = {r=1,g=1,b=1},
<NetSync=1>
            Position = {x=0,y=0,z=0},
}

Table = {
  Radius = {
    attr = { UIWidget = "slider", UIMin = 0, UIMax = 100 },
    value = 10
  },
  TargetName = {
    attr = { UIWidget = "EntitySelector" },
    value = "MyName"
  },
  Color = {
    attr = { UIWidget = "Color" },
    value = { r = 1.0, g = 1.0, b = 1.0 }
  },
  Position = {
    attr = { NetSync = 1 },
    value = { x = 0, y = 0, z = 0 }
  }
}

Something like that?

Roland