--********************
-- Lua script
--********************
EnemyList = {
Enemy1 = {
path = ".\mesh\cube4.x",
x = 0.0,
y = 0.0,
z = 0.0
},
Enemy2 = {
path = ".\mesh\cube2.x",
x = 10.0,
y = 1.0,
z = 0.0
}
}
Haw to get table data out of LUA?
Helo
Q) Haw to get table data out via stack?
read the manual. It''s all in there, in very clear language. You will be particularly interested in lua_gettable and lua_next.
How appropriate. You fight like a cow.
How appropriate. You fight like a cow.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement