Guest kikixp Posted June 12, 2009 Posted June 12, 2009 THANK YOU VERY MUCH FOR YOUR ANSWER! Q1: in export.lua, function "LoGetTWSInfo()" and "RWR SYSTEM" in game is same? Q2: Let's see this program in export.lua ===== local o = LoGetTWSInfo() if o then for k,v in pairs(o) do io.write(string.format("mode%d type%d\n",o.Mode,o.Emitters.Priority)) end else io.write(string.format(".")) end ====== output: LuaExport::LuaExportAfterNextFrame: ./Config/Export/Export.lua:71: bad argument #3 to `format' (number expected, got nil) but in export.lua,it say:" Priority =,-- priority of emitter (int)". INT is " %d". what's wrong?
Recommended Posts