# Set Selected Mission Archive
Grammar — Set the selected mission archive for players|Player Group to visible|BattleReport
Flags —Native
|Action
Sets which mission archive is selected on the mission archive panel for the specified player group.
# Arguments
playergroup
— Playersint
<preset::MissionArchive> — Selected Mission Archive
Returns — void
native void BattleReportPanelSetSelectedBattleReport(
playergroup players,
int inBattleReport,
);
# Related
Category: Story / Mission Archives Panel
- Mission Archives Panel Exited —
void
— TriggerAddEventBattleReportPanelExit - Mission Archives Panel Play Mission —
void
— TriggerAddEventBattleReportPanelPlayMission - Mission Archive Panel Play Scene —
void
— TriggerAddEventBattleReportPanelPlayScene - Mission Archives Panel Selection Changed —
void
— TriggerAddEventBattleReportPanelSelectionChanged - Add Mission Archive —
void
— BattleReportCreate - Mission Archive Dialog Item —
int
<control> — BattleReportGetDialogControl - Last Created Mission Archive —
int
<preset::MissionArchive> — BattleReportLastCreated - Remove Mission Archive —
void
— BattleReportDestroy - Set Mission Archive Mission Text —
void
— BattleReportSetMissionText - Set Mission Archive Mission Image —
void
— BattleReportSetMissionImage - Set Mission Archive Scene Image —
void
— BattleReportSetSceneImage - Set Mission Archive Scene Text —
void
— BattleReportSetSceneText - Set Mission Archive Difficulty Best Time Text —
void
— BattleReportSetDifficultyLevelBestTimeText - Set Mission Archive Difficulty Completed —
void
— BattleReportSetDifficultyLevelCompleted - Add Mission Archive Achievement —
void
— BattleReportAddAchievement - Set Mission Archive Best Time Text —
void
— BattleReportSetBestTimeText - Set Mission Archive Research Title —
void
— BattleReportSetResearchTitle - Set Mission Archive Research Text —
void
— BattleReportSetResearchText - Set Mission Archive Bonus Title —
void
— BattleReportSetBonusTitle - Set Mission Archive Bonus Text —
void
— BattleReportSetBonusText - Set Mission Archive Button Text —
void
— BattleReportSetButtonText - Set Mission Archive Button Image —
void
— BattleReportSetButtonImage - Set Mission Archive Priority —
void
— BattleReportSetPriority - Set Mission Archive State —
void
— BattleReportSetState - Show Mission Archive in Missions Completed Total —
void
— BattleReportSetShownInMissionTotal - Get Mission Archive Mission Text —
text
— BattleReportGetMissionText - Get Mission Archive Mission Image —
string
<filepath> — BattleReportGetMissionImage - Get Mission Archive Scene Image —
string
<filepath> — BattleReportGetSceneImage - Get Mission Archive Scene Text —
text
— BattleReportGetSceneText - Get Mission Archive Difficulty Best Time Text —
text
— BattleReportGetDifficultyLevelBestTimeText - Get Mission Archive Difficulty Completed —
bool
— BattleReportGetDifficultyLevelCompleted - Get Mission Archive Best Time Text —
text
— BattleReportGetBestTimeText - Get Mission Archive Research Title —
text
— BattleReportGetResearchTitle - Get Mission Archive Research Text —
text
— BattleReportGetResearchText - Get Mission Archive Bonus Title —
text
— BattleReportGetBonusTitle - Get Mission Archive Bonus Text —
text
— BattleReportGetBonusText - Get Mission Archive Button Text —
text
— BattleReportGetButtonText - Get Mission Archive Button Image —
string
<filepath> — BattleReportGetButtonImage - Get Mission Archive Priority —
int
— BattleReportGetPriority - Get Mission Archive State —
int
<preset::MissionArchiveState> — BattleReportGetState - Set Selected Mission Archive —
void
— BattleReportPanelSetSelectedBattleReport - Selected Mission Archive —
int
<preset::MissionArchive> — BattleReportPanelGetSelectedBattleReport - Selected Mission Archive Difficulty —
int
<difficulty> — EventBattleReportPanelDifficultySelected - Selected Mission Archive Mission —
int
<preset::MissionArchive> — EventBattleReportPanelMissionSelected - Selected Mission Archive Scene —
int
<preset::MissionArchive> — EventBattleReportPanelSceneSelected
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:4310
}
if ((lv_mission != libCamp_ge_MapID_MapNone)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), libCamp_gv_tS_BattleReportMissions[(lv_mission)]);
}
else {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:4324
}
if ((lv_scene != libCamp_ge_SceneID_SceneNone)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), libCamp_gv_tS_BattleReportScenes[(lv_scene)]);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:4330
}
else {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), libCamp_gv_tS_BattleReportScenes[(libCamp_ge_SceneID_SceneTerran01RaynorIntro)]);
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6044
if ((lib281DEC45_gv_zSS_CampaignComplete == false) && (lv_defaultSelection == true) && (lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission) <= lv_bestPriority)) {
lv_bestPriority = lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libSwaC_gf_LastMap() == lv_mission) && (libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Simulation) == true)) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6047
}
else if ((libSwaC_gf_LastMap() == lv_mission) && (libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Simulation) == true)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6072
if ((lib281DEC45_gv_zSS_CampaignComplete == false) && (lv_defaultSelection == true) && (lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission) <= lv_bestPriority)) {
lv_bestPriority = lib281DEC45_gf_ZSS_UIArchivesMissionPriority(lv_mission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libSwaC_gf_LastMap() == lv_mission) && (libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Simulation) == true)) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6075
}
else if ((libSwaC_gf_LastMap() == lv_mission) && (libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Simulation) == true)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
DataTableSetString(true, lib281DEC45_gf_ZSS_UIArchivesDataString(BattleReportLastCreated()), (lv_mission));
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6094
if ((lib281DEC45_gv_zSS_CampaignComplete == true) && (lv_defaultSelection == true) && (lib281DEC45_gf_ZSS_UIArchivesScenePriority(lv_scene) >= lv_bestPriority)) {
lv_bestPriority = lib281DEC45_gf_ZSS_UIArchivesScenePriority(lv_scene);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((lib281DEC45_gv_zSS_CampaignComplete == false) && (lv_defaultSelection == true) && (lib281DEC45_gf_ZSS_UIArchivesScenePriority(lv_scene) <= lv_bestPriority)) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:6098
else if ((lib281DEC45_gv_zSS_CampaignComplete == false) && (lv_defaultSelection == true) && (lib281DEC45_gf_ZSS_UIArchivesScenePriority(lv_scene) <= lv_bestPriority)) {
lv_bestPriority = lib281DEC45_gf_ZSS_UIArchivesScenePriority(lv_scene);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7002
if ((libVCUI_gv_pU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libVCUI_gf_PU_ArchivesMissionPriority(lv_indexMission) <= lv_bestPriority)) {
lv_bestPriority = libVCUI_gf_PU_ArchivesMissionPriority(lv_indexMission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libVoiC_gf_LastMap() == lv_indexMission) && (libVoiC_gf_LastMapConditionCheck(libVoiC_ge_MissionCondition_Simulation) == true)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7005
}
else if ((libVoiC_gf_LastMap() == lv_indexMission) && (libVoiC_gf_LastMapConditionCheck(libVoiC_ge_MissionCondition_Simulation) == true)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7020
if ((libVCUI_gv_pU_MasterArchivesEnabled == true) && (lv_defaultSelection == true) && (libVCUI_gf_PU_ArchivesScenePriority(lv_indexScene) >= lv_bestPriority)) {
lv_bestPriority = libVCUI_gf_PU_ArchivesMissionPriority(lv_indexMission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libVCUI_gv_pU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libVCUI_gf_PU_ArchivesScenePriority(lv_indexScene) <= lv_bestPriority)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7023
}
else if ((libVCUI_gv_pU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libVCUI_gf_PU_ArchivesScenePriority(lv_indexScene) <= lv_bestPriority)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:4245
if ((libNCUI_gv_nU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libNCUI_gf_NU_ArchivesMissionPriority(lv_indexMission) <= lv_bestPriority)) {
lv_bestPriority = libNCUI_gf_NU_ArchivesMissionPriority(lv_indexMission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libComC_gf_LastMap() == lv_indexMission) && (libComC_gf_LastMapConditionCheck(libComC_ge_MissionCondition_Simulation) == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:4248
}
else if ((libComC_gf_LastMap() == lv_indexMission) && (libComC_gf_LastMapConditionCheck(libComC_ge_MissionCondition_Simulation) == true)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:4263
if ((libNCUI_gv_nU_MasterArchivesEnabled == true) && (lv_defaultSelection == true) && (libNCUI_gf_NU_ArchivesScenePriority(lv_indexScene) >= lv_bestPriority)) {
lv_bestPriority = libNCUI_gf_NU_ArchivesScenePriority(lv_indexScene);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
else if ((libNCUI_gv_nU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libNCUI_gf_NU_ArchivesScenePriority(lv_indexScene) <= lv_bestPriority)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:4267
else if ((libNCUI_gv_nU_MasterArchivesEnabled == false) && (lv_defaultSelection == true) && (libNCUI_gf_NU_ArchivesScenePriority(lv_indexScene) <= lv_bestPriority)) {
lv_bestPriority = libNCUI_gf_NU_ArchivesScenePriority(lv_indexScene);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:9656
DataTableSetInt(true, libA3DDD02B_gf_PP_ArchivesDataTypeString(BattleReportLastCreated()), (libA3DDD02B_ge_PP_ArchivesType_Mission));
if ((libA3DDD02B_gf_LastMap() == lv_indexMission) && (libA3DDD02B_gf_LastMissionConditionCheck(libA3DDD02B_ge_MissionCondition_Simulation) == true)) {
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:9673
if ((lv_defaultSelection == true) && (libA3DDD02B_gf_PP_ArchivesScenePriority(lv_indexScene) >= lv_bestPriority)) {
lv_bestPriority = libA3DDD02B_gf_PP_ArchivesMissionPriority(lv_indexMission);
BattleReportPanelSetSelectedBattleReport(PlayerGroupAll(), BattleReportLastCreated());
}
}