# Set Dialog Item Render Type

Grammar — Set dialogItem render type to renderType for players
FlagsAction

Controls in which pass the specified Dialog Item is rendered. Items rendered in the HDR pass will be rendered before those in the LDR pass and will also be affected by post processing screen effects.

# Arguments

  • int<control> — Dialog Item
  • int<preset::ImageType2> — Render Type
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemRenderType(
	int lp_dialogItem,
	int lp_renderType,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4069

    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libVoiC_gv_pC_CurrentCampaignCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());
    libVoiC_gv_pC_CampaignCutsceneSkippable = (lp_allowSkip == true);

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:1710

    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libComC_gv_cC_CutsceneCurrent = CutsceneGetTriggerControl(DialogControlLastCreated());
    libComC_gv_cC_CutsceneSkippable = (lp_allowSkip == true);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1088

    }
    if ((lv_briefingCreated == true)) {
        libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
        DialogControlSendAnimationEvent(libNCUI_gv_nU_MissionBriefingModuleCenterAnimationContainer, PlayerGroupAll(), "StartAnimations");
        libNCUI_gv_nU_MissionBriefing = DialogControlLastCreated();

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:5385

            libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(0.00, 0.00, 0.00), PlayerGroupAll());
            libNtve_gf_SetDialogItemRenderPriority(DialogControlLastCreated(), 1, PlayerGroupAll());
            libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
        }
        else {

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:5059

    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libA3DDD02B_gv_pP_CurrentCampaignCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());
    libA3DDD02B_gv_pP_CampaignCutsceneSkippable = (lp_allowSkip == true);

mods/warcoop/warclassic.sc2modbase.sc2data/TriggerLibs/WarClassic.galaxy:1035

    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer\\ConsolePanel\\ConsoleSkinTemplate\\InfoPanelImageContainer\\InfoPanelBackground");
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    return true;
}