# Show/Hide Cutscene

GrammarinShow|Show/Hide Cutscene inCutscene.
FlagsNative | Action

Shows or hides a cutscene. When hidden, the cutscene will continue to advance and fire events, but it will not be visible nor will it play any sounds.

# Arguments

Returns — void

native void CutsceneShow(int inCutscene, bool inShow);

Category: Cutscene / Cutscenes

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L8182
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggLightScenes[lv_index], false)
// L8185
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggLightScenes[lv_index], true)
// L8190
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggLightScenes[lv_index], true)
// L8205
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggRoomSetLightScene, true)
// L8208
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggRoomSetLightScene, false)
// L8223
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggRoomEvoLightScene, true)
// L8226
CutsceneShow(libSwaC_gv_zS_ArmyCustomEggRoomEvoLightScene, false)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L2859
CutsceneShow(lib281DEC45_gv_zSS_StorySetLightingCutscene, true)
// L2876
CutsceneShow(lib281DEC45_gv_zSS_StorySetLightingCutscene, false)
// L3509
CutsceneShow(lib281DEC45_gv_zSS_AmbientScenes[lv_indexScene][lv_indexCutscene], lp_showHide)
// L3541
CutsceneShow(lib281DEC45_gv_zSS_AmbientScenes[lv_indexScene][lv_indexCutscene], true)
// L3640
CutsceneShow(CutsceneLastCreated(), false)
// L4793
CutsceneShow(lib281DEC45_gv_zSS_Characters[lib281DEC45_gf_ZSS_CharacterIndex(lp_character)].lv_lightingCutscene, true)
// L4866
CutsceneShow(lib281DEC45_gv_zSS_Characters[lib281DEC45_gf_ZSS_CharacterIndex(lp_character)].lv_lightingCutscene, false)

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L1334
CutsceneShow(libVCST_gv_pS_StorySetLightingCutscene, true)
// L1350
CutsceneShow(libVCST_gv_pS_StorySetLightingCutscene, false)
// L2540
CutsceneShow(libVCST_gv_pS_Backgrounds[libVCST_gf_PS_ConvertRoomtoBackgroundRoomNumber(lp_room)], true)
// L2571
CutsceneShow(libVCST_gv_pS_Backgrounds[lv_roomNumber], false)
// L2674
CutsceneShow(libVCST_gv_pS_AmbientEvents[lv_indexRoom][lv_indexScene][lv_indexEvent], lp_showHide)
// L2708
CutsceneShow(libVCST_gv_pS_AmbientEvents[libVCST_gf_PS_AmbientGetRoomNumber(lp_room)][lv_indexScene][lv_indexEvent], lp_showHide)
// L2736
CutsceneShow(libVCST_gv_pS_AmbientEvents[libVCST_gf_PS_AmbientGetRoomNumber(libVCST_gv_pS_CurrentRoom)][lv_indexScene][lv_indexEvent], true)
// L2924
CutsceneShow(CutsceneLastCreated(), true)
// L2927
CutsceneShow(CutsceneLastCreated(), false)
// L4288
CutsceneShow(libVCST_gv_pS_Clickable[libVCST_gf_PS_ClickableIndex(lp_clickableInstance)].lv_lightingCutscene, false)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L2878
CutsceneShow(libVCUI_gv_pU_StarmapCutscene, true)

# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod

LibMLBD.galaxy

// L142
CutsceneShow(lv_currentCutscene, true)
// L148
CutsceneShow(lv_currentCutscene, true)
// L154
CutsceneShow(lv_currentCutscene, true)
// L160
CutsceneShow(lv_currentCutscene, true)

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L1220
CutsceneShow(libNCST_gv_nS_StorySetLightingCutscene, true)
// L1235
CutsceneShow(libNCST_gv_nS_StorySetLightingCutscene, false)
// L2183
CutsceneShow(libNCST_gv_NS_Backgrounds[libNCST_gf_NS_ConvertRoomtoBackgroundRoomNumber(lp_room)], true)
// L2212
CutsceneShow(libNCST_gv_NS_Backgrounds[lv_roomNumber], false)
// L2313
CutsceneShow(libNCST_gv_NS_AmbientEvents[lv_indexRoom][lv_indexScene][lv_indexEvent], lp_showHide)
// L2350
CutsceneShow(libNCST_gv_NS_AmbientEvents[libNCST_gf_NS_AmbientGetRoomNumber(lp_room)][lv_indexScene][lv_indexEvent], lp_showHide)
// L2381
CutsceneShow(libNCST_gv_NS_AmbientEvents[libNCST_gf_NS_AmbientGetRoomNumber(libNCST_gv_nS_CurrentRoom)][lv_indexScene][lv_indexEvent], true)
// L2572
CutsceneShow(CutsceneLastCreated(), true)
// L2575
CutsceneShow(CutsceneLastCreated(), false)
// L3642
CutsceneShow(libNCST_gv_nS_Clickable[libNCST_gf_NS_ClickableIndex(lp_clickableInstance)].lv_lightingCutscene, false)