# Set Debug Message File
Grammar — Set the output file for debug message type type to file
Flags —Native
|Action
Sets the name of the output file for debug messages.
# Arguments
int
<preset::DebugMessageType> — Typestring
— File
Returns — void
native void TriggerDebugSetTypeFile(int type, string file);
# Related
Category: Debug / Trigger Debugging
- Debug Message —
void
— TriggerDebugOutput - Enable/Disable Debug Messages —
void
— TriggerDebugOutputEnable - Enable/Disable Debug Message Type —
void
— TriggerDebugEnableType - Set Debug Window Message Color —
void
— TriggerDebugSetTypeColor - Set Debug Message File —
void
— TriggerDebugSetTypeFile - Set Debug Message Filter —
void
— TriggerDebugSetTypeFilter - Set Debug Message Name —
void
— TriggerDebugSetTypeName - Open or Close Debug Window —
void
— TriggerDebugWindowOpen - Convert Integer To Debug Message Type —
int
<preset::DebugMessageType> — libNtve_gf_ConvertIntegerToDebugMessageType
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18835
}
TriggerDebugSetTypeFile(2, "StorySets.txt");
gf_DebugOutputSetUnitsSingle(ge_RoomID_RoomArmory);
gf_DebugOutputSetUnitsSingle(ge_RoomID_RoomBridge);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18835
}
TriggerDebugSetTypeFile(2, "StorySets.txt");
gf_DebugOutputSetUnitsSingle(ge_RoomID_RoomArmory);
gf_DebugOutputSetUnitsSingle(ge_RoomID_RoomBridge);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8197
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeTeamResourceButton, false);
if ((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true)) {
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
libCamp_gv_debug_MapIDForPerfTest = lp_map;
TriggerExecute(libCamp_gt_Debug_StartPerformanceLogging, true, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12676
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeTeamResourceButton, false);
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeTextTag);
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
libSwaC_gv_zS_CurrentMap = lp_map;
UserDataSetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_map), "IsCurrent", 1, 1);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6515
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeAllianceButton, false);
libVoiC_gf_PC_AutoHeatMapTestMode();
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
TriggerDebugSetTypeFile(13, "CampaignStats.txt");
libVoiC_gv_pC_CurrentMap = lp_map;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6516
libVoiC_gf_PC_AutoHeatMapTestMode();
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
TriggerDebugSetTypeFile(13, "CampaignStats.txt");
libVoiC_gv_pC_CurrentMap = lp_map;
if ((libVoiC_gf_PC_CampaignMapIsEpilogue(lp_map) == true)) {
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:2270
}
}
TriggerDebugSetTypeFile(lv_debugMsgType_C, lv_outputFileName_C);
auto8ACA9DBB_ae = lv_heroPickCount;
lv_name = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4894
}
TriggerDebugSetTypeFile(1, (libCore_gv_debugPathDebugOutput + ".txt"));
TriggerDebugSetTypeFile(2, (libCore_gv_debugPathScoreValueLog + ".txt"));
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4895
TriggerDebugSetTypeFile(1, (libCore_gv_debugPathDebugOutput + ".txt"));
TriggerDebugSetTypeFile(2, (libCore_gv_debugPathScoreValueLog + ".txt"));
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"));
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4896
TriggerDebugSetTypeFile(1, (libCore_gv_debugPathDebugOutput + ".txt"));
TriggerDebugSetTypeFile(2, (libCore_gv_debugPathScoreValueLog + ".txt"));
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"));
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"));
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4897
TriggerDebugSetTypeFile(2, (libCore_gv_debugPathScoreValueLog + ".txt"));
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"));
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"));
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"));
TriggerDebugSetTypeFile(7, (libCore_gv_debugPathIndividualStatTrackerLog + ".txt"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4898
TriggerDebugSetTypeFile(3, (libCore_gv_debugPathEncouragementDataTrackingLog + ".txt"));
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"));
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"));
TriggerDebugSetTypeFile(7, (libCore_gv_debugPathIndividualStatTrackerLog + ".txt"));
TriggerDebugSetTypeFile(8, (libCore_gv_debugPathMVPLog + ".txt"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4899
TriggerDebugSetTypeFile(5, (libSprt_gv_performanceTestFPSLogFile + ".txt"));
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"));
TriggerDebugSetTypeFile(7, (libCore_gv_debugPathIndividualStatTrackerLog + ".txt"));
TriggerDebugSetTypeFile(8, (libCore_gv_debugPathMVPLog + ".txt"));
if ((libCore_gv_dEBUGDebuggingEnabled == false)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4900
TriggerDebugSetTypeFile(6, (libCore_gv_debugPathDeathTimerRenderPrioritiesLog + ".txt"));
TriggerDebugSetTypeFile(7, (libCore_gv_debugPathIndividualStatTrackerLog + ".txt"));
TriggerDebugSetTypeFile(8, (libCore_gv_debugPathMVPLog + ".txt"));
if ((libCore_gv_dEBUGDebuggingEnabled == false)) {
TriggerDebugOutputEnable(false);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:348
void libComC_gf_CC_Initialize (string lp_storyMap) {
// Implementation
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
CampaignMode(PlayerGroupAll(), true);
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeTextTag);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:13307
}
TriggerDebugSetTypeFile(3, "CoopAIDebug.txt");
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4334
// Implementation
libCOOC_gv_cC_DebugPlaytestMode = GameIsOnline();
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
TriggerDebugSetTypeFile(13, "ACStats.txt");
TriggerDebugSetTypeFile(14, "ACScores.txt");
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4335
libCOOC_gv_cC_DebugPlaytestMode = GameIsOnline();
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
TriggerDebugSetTypeFile(13, "ACStats.txt");
TriggerDebugSetTypeFile(14, "ACScores.txt");
if ((libCOOC_gv_cC_DevStart_Forced == false) && (GameCheatsEnabled(c_gameCheatCategoryDevelopment) == false)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4336
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
TriggerDebugSetTypeFile(13, "ACStats.txt");
TriggerDebugSetTypeFile(14, "ACScores.txt");
if ((libCOOC_gv_cC_DevStart_Forced == false) && (GameCheatsEnabled(c_gameCheatCategoryDevelopment) == false)) {
TriggerDebugOutputEnable(false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5833
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeTextTag);
libA3DDD02B_gf_PC_AutoHeatMapTestMode();
TriggerDebugSetTypeFile(1, "StoryModeDebug.txt");
libA3DDD02B_gv_pP_CurrentMap = lp_map;
UserDataSetInt("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lp_map), "IsCurrent", 1, 1);