Jump to content

Recommended Posts

Posted

Hi there,

 

I'd like to pass the absolute path to a file (mp3 sound) stored in my mission, to an external program (DCS-SR-ExternalAudio.exe).

 

I know it's possible because when the mission starts, DCS first unzips it to a subfolder of the %TEMP% directory.

 

Here's my question : how to I get the path of this subfolder, in lua ?

I tried "lfs.writedir()" (points to "saved games") and "lfs.currentdir()" (points to DCS install).

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

  • 1 month later...
  • Recently Browsing   0 members

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