# Set Dialog Item Cutscene

Grammar — Set dialogItem Cutscene to cutscene|Cutscene for players
FlagsAction

Sets a cutscene for the specified dialog item.

# Arguments

  • int<control> — Dialog Item
  • string<filepath> — Cutscene
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemCutscene(
	int lp_dialogItem,
	string lp_cutscene,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:9898

    DialogControlCreate(gv_campaignIntroDialog, c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), "Cutscenes\\zLD_Interlude.SC2Cutscene", PlayerGroupAll());
    gv_campaignIntroCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());
    CutscenePlay(gv_campaignIntroCutscene);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:9898

    DialogControlCreate(gv_campaignIntroDialog, c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), "Cutscenes\\zLD_Interlude.SC2Cutscene", PlayerGroupAll());
    gv_campaignIntroCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());
    CutscenePlay(gv_campaignIntroCutscene);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6715

    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libSwaC_gv_zS_CurrentCampaignCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());
    libSwaC_gv_zS_CampaignCutsceneSkippable = (lp_allowSkip == true);

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

    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libVoiC_gv_pC_CurrentCampaignCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1809

    }

    libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_MissionVignetteScene[1], libVoiC_gf_PC_MissionVignetteCutscene(lp_mission), PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]));
    CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]), "Section1Start");

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1812

    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]));
    CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]), "Section1Start");
    libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_MissionVignetteScene[2], libVoiC_gf_PC_MissionVignetteCutscene(lp_mission), PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[2]));
    CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[2]), "Section2Start");

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:4903

        DialogControlSetVisible(libVCUI_gv_pU_GPPanel, PlayerGroupAll(), lp_showHide);
        DialogControlSetVisible(libVCUI_gv_pU_GPHolder, PlayerGroupAll(), lp_showHide);
        libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_GPCutscene, "Cutscenes\\UI_SoAMission.SC2Cutscene", PlayerGroupAll());
        CutsceneSetTime(CutsceneGetTriggerControl(libVCUI_gv_pU_GPEnergyGlassScene), 0);
        CutsceneSetTime(CutsceneGetTriggerControl(libVCUI_gv_pU_GPEnergyBarScene), 0);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5962


    CutsceneStop(CutsceneGetTriggerControl(libVCUI_gv_pU_GPCutscene));
    libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_GPCutscene, "Cutscenes\\UI_SoAMission.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_GPCutscene));
    CutsceneStop(CutsceneGetTriggerControl(libVCUI_gv_pU_GPEnergyBarScene));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5965

    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_GPCutscene));
    CutsceneStop(CutsceneGetTriggerControl(libVCUI_gv_pU_GPEnergyBarScene));
    libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_GPEnergyBarScene, "Cutscenes\\UI_SoAMissionEnergy.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_GPEnergyBarScene));
    return true;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7746

        DialogControlSendAnimationEvent(libVCUI_gv_pU_MissionCalloutLines[3], PlayerGroupAll(), "EasterEggBirth");
        libVCUI_gv_pU_MissionEasterEggVignetteEnabled = true;
        libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_MissionVignetteScene[1], libVoiC_gf_PC_MissionVignetteEasterEggCutscene(libVCUI_gv_pU_MissionNextMap), PlayerGroupAll());
        CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]));
        CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]), "Section1Start");

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:7754

        DialogControlSendAnimationEvent(libVCUI_gv_pU_MissionCalloutLines[3], PlayerGroupAll(), "EasterEggBirth");
        libVCUI_gv_pU_MissionEasterEggVignetteEnabled = false;
        libNtve_gf_SetDialogItemCutscene(libVCUI_gv_pU_MissionVignetteScene[1], libVoiC_gf_PC_MissionVignetteCutscene(libVCUI_gv_pU_MissionNextMap), PlayerGroupAll());
        CutscenePlay(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]));
        CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]), "Section1Start");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:3431

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SetDialogItemCutscene(libUIUI_gv_vignetteOverlayPanel.lv_overlayCutscene, lp_cutscene, libCore_gv_playerGroupFromPlayer[lp_player]);
    DialogControlSetVisible(libUIUI_gv_vignetteOverlayPanel.lv_overlayCutscene, libCore_gv_playerGroupFromPlayer[lp_player], true);
    DialogControlSendAnimationEvent(libUIUI_gv_vignetteOverlayPanel.lv_overlayCutscene, libCore_gv_playerGroupFromPlayer[lp_player], "Start");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:3698

    // Automatic Variable Declarations
    // Implementation
    libNtve_gf_SetDialogItemCutscene(libUIUI_gv_fullscreenOverlaysPanelRework.lv_overlayCutscene, lp_cutscene, libCore_gv_playerGroupFromPlayer[lp_player]);
    DialogControlSendAnimationEvent(libUIUI_gv_fullscreenOverlaysPanelRework.lv_overlayCutscene, libCore_gv_playerGroupFromPlayer[lp_player], "Start");
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:3739

    }

    libNtve_gf_SetDialogItemCutscene(libUIUI_gv_fullscreenOverlaysPanel.lv_specialOverlay, lp_cutscene, libCore_gv_playerGroupFromPlayer[lp_player]);
    DialogControlSetVisible(libUIUI_gv_fullscreenOverlaysPanel.lv_specialOverlay, libCore_gv_playerGroupFromPlayer[lp_player], true);
    TimerPause(libUIUI_gv_fullscreenOverlaysSpecialOverlayHideTimer[lp_player], true);

mods/heromods/firebat.stormmodbase.stormdata/LibHFIR.galaxy:288

    libUIUI_gf_UIDamageFlashStopLowHPSoundAndScreenEffects(lv_player);
    libUIUI_gf_FullscreenOverlayStopandClearCutsceneQueueForPlayer(lv_player);
    libNtve_gf_SetDialogItemCutscene(libUIUI_gv_cargoOverlay.lv_cargoOverlay_Cutscene[lv_player], "Cutscenes\\GameUI_FirebatBunkerOverlay.StormCutscene", PlayerGroupAll());
    DialogControlSendAnimationEvent(libUIUI_gv_cargoOverlay.lv_cargoOverlay_Cutscene[lv_player], libCore_gv_playerGroupFromPlayer[lv_player], "Start");
    DialogControlSetVisible(libUIUI_gv_cargoOverlay.lv_cargoOverlay_Cutscene[lv_player], PlayerGroupSingle(lv_player), true);

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

    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libComC_gv_cC_CutsceneCurrent = CutsceneGetTriggerControl(DialogControlLastCreated());

mods/novastoryassets.sc2modbase2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:6727

    lv_flashbackEffectCutscene = DialogControlLastCreated();
    DialogControlSetFullDialog(lv_flashbackEffectCutscene, PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(lv_flashbackEffectCutscene, "Cutscenes\\Nova06FlashbackEffect.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(lv_flashbackEffectCutscene));
    DialogSetVisible(gv_flashbackEffectDialog, PlayerGroupAll(), true);

mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2mapMapScript.galaxy:6727

    lv_flashbackEffectCutscene = DialogControlLastCreated();
    DialogControlSetFullDialog(lv_flashbackEffectCutscene, PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(lv_flashbackEffectCutscene, "Cutscenes\\Nova06FlashbackEffect.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(lv_flashbackEffectCutscene));
    DialogSetVisible(gv_flashbackEffectDialog, PlayerGroupAll(), true);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4113

    DialogControlHookup(libCOUI_gv_cU_GPPanel[lp_player], c_triggerControlTypeCutscene, "SoACommandCutscene");
    libCOUI_gv_cU_GPCutscene[lp_player] = DialogControlLastCreated();
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_SoAMission.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
    DialogControlHookup(libCOUI_gv_cU_GPEnergyBar[lp_player], c_triggerControlTypeCutscene, "SoAFillScene");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4168

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_AlarakCastingPanel.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
    DialogControlHookup(libCOUI_gv_cU_GPPanel[lp_player], c_triggerControlTypeButton, "GemButton");

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4213

    DialogControlHookup(libCOUI_gv_cU_GPPanel[lp_player], c_triggerControlTypeCutscene, "FenixCommandCutscene");
    libCOUI_gv_cU_GPCutscene[lp_player] = DialogControlLastCreated();
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_FenixCastingPanel.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
    if ((libCOOC_gf_CC_PerkStateCheck("FenixUnlockArbiterSuit", libCOOC_ge_CC_PerkState_Active, "ProtossFenix", lp_player) == true)) {

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4260

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_TerranCastingPanel.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
    libCOUI_gv_cU_GPCutsceneFilter[lp_player] = "TwoButtons";

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4295

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_TerranCastingPanel.SC2Cutscene", PlayerGroupAll());
    libCOUI_gv_cU_GPCutsceneFilter[lp_player] = "FourButtons";
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4330

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_TerranCastingPanel.SC2Cutscene", PlayerGroupAll());
    libCOUI_gv_cU_GPCutsceneFilter[lp_player] = "FourButtons";
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4365

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_ZergCastingPanel.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4399

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_StukovCastingPanel.SC2Cutscene", PlayerGroupSingle(lp_player));
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4433

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_DehakaCastingPanel.SC2Cutscene", PlayerGroupSingle(lp_player));
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:4467

    }
    DialogControlSetVisible(libCOUI_gv_cU_GPPanel[lp_player], PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemCutscene(libCOUI_gv_cU_GPCutscene[lp_player], "Cutscenes\\UI_TerranCastingPanel.SC2Cutscene", PlayerGroupAll());
    CutscenePlay(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]));
    libCOUI_gv_cU_GPCutsceneFilter[lp_player] = "Nova";

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

    DialogControlCreate(DialogLastCreated(), c_triggerControlTypeCutscene);
    DialogControlSetFullDialog(DialogControlLastCreated(), PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemCutscene(DialogControlLastCreated(), lp_file, PlayerGroupAll());
    libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());
    libA3DDD02B_gv_pP_CurrentCampaignCutscene = CutsceneGetTriggerControl(DialogControlLastCreated());