Difference between revisions of "MIST dump G"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.debug.dump_G| |vNum = Mist 1.0 |desc=Dumps the global environment (using mist.utils.tableShow) to Saved Games/DCS/Logs/fileName.| |rtnType...")
(No difference)

Revision as of 06:30, 12 April 2018


mist.debug.dump_G

Added with: Mist 1.0
Description
Dumps the global environment (using mist.utils.tableShow) to Saved Games/DCS/Logs/fileName.
Syntax
nothing mist.debug.dump_G(string fileName )
Valid Input Values:
nothing
Return value:
nothing
Return example:
nothing
Usage Examples:
 do
 mist.debug.dump_G('gDumpV126')	
 end

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

Scripting Engine

MIST Root Page