MIST writeData
From DCS World Wiki - Hoggitworld.com
mist.debug.writeData
Added with: Mist 1.0 |
Description |
Writes to the file Saved Games/DCS/Logs/ fileName the results of function fcn called with the variables unpacked from the table fcnVars. |
Syntax |
nothing mist.debug.writeData(function fcn ,table fcnVars ,string fileName ) |
Valid Input Values: |
nothing |
Return value: |
nothing |
Return example: |
nothing |
Usage Examples: |
|
Notes: |
For functions mist.debug.dump_G, mist.debug.writeData, and mist.debug.dumpDBs, you must (temporarily!) unprotect the Lua environment and enable the io and lfs libraries. You do this by commenting out the sanitizeModule calls in <DCS main directory>/Scripts/MissionScripting.lua. Just be sure to re-protect yourself later when you run missions from untrusted sources. |
Related Functions |
writeData, dumpDBs, dump_G, writeGroup, writeTypes, changeSetting |