Jump to content

Recommended Posts

Posted

Hi everybody

 

A very basic and probably stupid Lua question within DCS script.

 

What is the procedure to write or read "whaterver" let say on my "G:/data.file"

 

Never did that with Lua language and what I tried from internet (for exemple local file = io.open(path, "w") and so on ) doesn't work...

 

Thanks

Posted (edited)

Hi,

 

You will need to unsanitize (comment out) the lfs and/or io classes in MissionScripting.lua to use the functionality.

 

 

And wher can I find this MissionScripting.lua

 

 

Thanks

 

 

EDit : got it. Thanks

Edited by CougarFFW04
Posted

For anyone looking for this file: <DCS>\Scripts\MissionScripting.lua

Simply comment out the classes that you want to work with and they will be available for scripting.

  • Recently Browsing   0 members

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