Jump to content

question about export.lua and LoGetTWSInfo()


Recommended Posts

Guest kikixp
Posted

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?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...