# Clear Subtitle Position Dialog
Grammar — Clear the subtitle position override
Flags —Native
|Action
Using this function will cause the subtitle panel to return to its default size and position.
Returns — void
native void DialogClearSubtitlePositionOverride();
# Related
Category: Dialog / Dialog Tools
- Destroy All Dialogs —
void
— DialogDestroyAll - Destroy Dialog —
void
— DialogDestroy - Position Subtitle to Dialog —
void
— DialogSetSubtitlePositionOverride - Clear Subtitle Position Dialog —
void
— DialogClearSubtitlePositionOverride - Set Dialog Enabled —
void
— DialogSetEnabled - Dialog Is Enabled —
bool
— DialogIsEnabled - Set Dialog Offscreen —
void
— DialogSetOffscreen - Dialog Is Offscreen —
bool
— DialogIsOffscreen - Dialog Is Modal —
bool
— DialogIsModal - Show/Hide Dialog Background —
void
— DialogSetImageVisible - Dialog Background Image Is Visible —
bool
— DialogIsImageVisible - Dialog Background Image —
string
— DialogGetImage - Set Dialog Transparency —
void
— DialogSetTransparency - Dialog Transparency —
fixed
— DialogGetTransparency - Set Dialog RTT Channel —
void
— DialogSetChannel - Dialog Channel —
int
— DialogGetChannel - Set Dialog Render Priority —
void
— DialogSetRenderPriority - Dialog Render Priority —
int
— DialogGetRenderPriority - Set Dialog Observed Type —
void
— DialogSetObservedType
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9384
DialogClearSubtitlePositionOverrideControl();
DialogClearSubtitlePositionOverride();
ConversationDataStop();
TriggerEnable(libSwaC_gt_ZS_ArmyCustomMissionPlayButtonClicked, false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3114
UISetWorldVisible(PlayerGroupAll(), true);
lib281DEC45_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3131
TransmissionClearAll();
lib281DEC45_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3158
lib281DEC45_gf_ZSS_LightSetPrimaryPlay();
lib281DEC45_gf_ShowHideAllAmbientScenes(true);
DialogClearSubtitlePositionOverride();
DialogSetSubtitlePositionOverride(c_invalidDialogId);
DialogSetSubtitlePositionOverrideControl(lib281DEC45_gv_zSS_UIMainSetSubtitleAnchor);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3171
}
else if (auto5B000CE1_val == lib281DEC45_ge_Rooms_StoryRoomEggRoom) {
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
lib281DEC45_gf_ShowHideStoryUnits(false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3183
}
else if (auto5B000CE1_val == lib281DEC45_ge_Rooms_StoryRoomEvolutionMissionScreen) {
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
lib281DEC45_gf_ShowHideStoryUnits(false);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3204
lib281DEC45_gf_ToggleInteractives(false);
lib281DEC45_gf_ShowHideStoryUI(false);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
lib281DEC45_gf_ZSS_UIArchivesDisplay();
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1863
UISetWorldVisible(PlayerGroupAll(), true);
libVCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1883
libVCST_gf_ShowHideStoryUI(false);
libVCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:6171
libVCST_gf_ToggleInteractives(false);
libVCST_gf_ShowHideStoryUI(false);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
libVCUI_gf_PU_ArchivesDisplay();
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1672
UISetWorldVisible(PlayerGroupAll(), true);
libNCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1691
libNCST_gf_ShowHideStoryUI(false);
libNCST_gf_SetAllSoundChannelVolumesStory(libNtve_ge_VolumeChannelMode_Cinematic, 0.5);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:5100
libNCST_gf_ToggleInteractives(false);
libNCST_gf_ShowHideStoryUI(false);
DialogClearSubtitlePositionOverride();
DialogClearSubtitlePositionOverrideControl();
libNCUI_gf_NU_ArchivesDisplay();
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6848
ConversationDataRegisterPortrait("char_RescuedTemplar", PortraitGetTriggerControl(libA3DDD02B_gv_pP_MLContactPortrait));
ConversationDataRegisterUnit("char_RescuedTemplar", null);
DialogClearSubtitlePositionOverride();
DialogSetSubtitlePositionOverrideControl(libA3DDD02B_gv_pP_MLSubtitleFrame);
libNtve_gf_SetDialogItemImage(libA3DDD02B_gv_pP_MLBackgroundImage, libA3DDD02B_gf_PP_MissionLaunchBackground(lp_mission), PlayerGroupAll());