# Set Debug Message File

Grammar — Set the output file for debug message type type to file
FlagsNative | Action

Sets the name of the output file for debug messages.

# Arguments

Returns — void

native void TriggerDebugSetTypeFile(int type, string file);

Category: Debug / Trigger Debugging

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L18835
TriggerDebugSetTypeFile(2, "StorySets.txt")
// L18835
TriggerDebugSetTypeFile(2, "StorySets.txt")

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L8197
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L12676
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L6515
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")
// L6516
TriggerDebugSetTypeFile(13, "CampaignStats.txt")

# mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod

LibIGHS.galaxy

// L2270
TriggerDebugSetTypeFile(lv_debugMsgType_C, lv_outputFileName_C)

# mods/heroesdata.stormmod

HeroesLib.galaxy

// L4894
TriggerDebugSetTypeFile(1, (libCore_gv_debugPathDebugOutput + ".txt"))
// L4895
TriggerDebugSetTypeFile(2, (libCore_gv_debugPathScoreValueLog + ".txt"))
// L4896
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"))
// L4897
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"))
// L4898
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"))
// L4899
TriggerDebugSetTypeFile(7, (libCore_gv_debugPathIndividualStatTrackerLog + ".txt"))
// L4900
TriggerDebugSetTypeFile(8, (libCore_gv_debugPathMVPLog + ".txt"))

# mods/missionpacks/campaigncommon.sc2mod

LibComC.galaxy

// L348
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L13304
TriggerDebugSetTypeFile(3, "CoopAIDebug.txt")

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L4334
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")
// L4335
TriggerDebugSetTypeFile(13, "ACStats.txt")
// L4336
TriggerDebugSetTypeFile(14, "ACScores.txt")

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L5833
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt")