# Remove Global Cutscene Filter

Grammar — Remove global cutscene filter inFilter.
FlagsNative | Action

Removes the filter for all cutscenes. Any nodes with a non-empty filter property that does not match this value will be filtered out of your cutscene.

# Arguments

  • string — Filter

Returns — void

native void CutsceneRemoveGlobalFilter(string inFilter);

Category: Cutscene / Cutscenes / Filters

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:696

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSwarmMusicPlanetDeparture", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    lib281DEC45_gf_PlayStorymodeCutscene("Cutscenes\\zLD_DepartChar.SC2Cutscene");
    CutsceneRemoveGlobalFilter("Zeratul");
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map/MapScript.galaxy:702

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSwarmMusicPlanetDeparture", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    lib281DEC45_gf_PlayStorymodeCutscene("Cutscenes\\zLD_DepartIce.SC2Cutscene");
    CutsceneRemoveGlobalFilter("Zeratul");
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2mapMapScript.galaxy:696

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSwarmMusicPlanetDeparture", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    lib281DEC45_gf_PlayStorymodeCutscene("Cutscenes\\zLD_DepartChar.SC2Cutscene");
    CutsceneRemoveGlobalFilter("Zeratul");
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2mapMapScript.galaxy:702

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZSwarmMusicPlanetDeparture", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    lib281DEC45_gf_PlayStorymodeCutscene("Cutscenes\\zLD_DepartIce.SC2Cutscene");
    CutsceneRemoveGlobalFilter("Zeratul");
    return true;
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5562

    CutsceneAddGlobalFilter("Korhal");
    libVoiC_gf_CampaignPlayCutscene2(lv_cutsceneFile, true, true);
    CutsceneRemoveGlobalFilter("Korhal");
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5700

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
    libVCMI_gf_CleanUpOrbitalStrikeTargets();
    CutsceneRemoveGlobalFilter("Korhal");
    GameTimeOfDayPause(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:6250

    CutsceneAddGlobalFilter("Shakuras");
    libVoiC_gf_CampaignPlayCutscene2("Cutscenes\\Mission_SoACalldown_OrbitalStrike.SC2Cutscene", true, true);
    CutsceneRemoveGlobalFilter("Shakuras");
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    libNtve_gf_StoryMode(PlayerGroupAll(), false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:953

    }

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:954


    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:955

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:956

    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:957

    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);
    libVCST_gf_ShowHideStoryUnits(true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1009

    }

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1010


    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Artanis"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Kerrigan"));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1011

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Artanis"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Kerrigan"));
    if (((libVoiC_gf_NumberOfMissions(libVoiC_ge_MissionCountOptions_Completed) >= 16) || (libVoiC_gf_MissionStatusCheck("PKorhal02", libVoiC_ge_MissionStatus_Completed) == false))) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1015

    if (((libVoiC_gf_NumberOfMissions(libVoiC_ge_MissionCountOptions_Completed) >= 16) || (libVoiC_gf_MissionStatusCheck("PKorhal02", libVoiC_ge_MissionStatus_Completed) == false))) {
        libVCST_gf_ShowHideUnitAbs(false, gv_uNITWarCouncilSet02);
        CutsceneRemoveGlobalFilter("Capsule");
        CutsceneAddGlobalFilter("CapsuleOff");
        libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Preserver"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Firebat"));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1021

    else {
        libVCST_gf_ShowHideUnitAbs(true, gv_uNITWarCouncilSet02);
        CutsceneRemoveGlobalFilter("CapsuleOff");
        CutsceneAddGlobalFilter("Capsule");
        if ((libVoiC_gf_MissionStatusCheck("PUlnar03", libVoiC_ge_MissionStatus_Available) == true)) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5562

    CutsceneAddGlobalFilter("Korhal");
    libVoiC_gf_CampaignPlayCutscene2(lv_cutsceneFile, true, true);
    CutsceneRemoveGlobalFilter("Korhal");
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5700

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
    libVCMI_gf_CleanUpOrbitalStrikeTargets();
    CutsceneRemoveGlobalFilter("Korhal");
    GameTimeOfDayPause(false);
    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2mapMapScript.galaxy:6250

    CutsceneAddGlobalFilter("Shakuras");
    libVoiC_gf_CampaignPlayCutscene2("Cutscenes\\Mission_SoACalldown_OrbitalStrike.SC2Cutscene", true, true);
    CutsceneRemoveGlobalFilter("Shakuras");
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    libNtve_gf_StoryMode(PlayerGroupAll(), false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:953

    }

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:954


    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:955

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:956

    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:957

    CutsceneRemoveGlobalFilter("CoreStage3");
    CutsceneRemoveGlobalFilter("Capsule");
    CutsceneRemoveGlobalFilter("CapsuleOff");
    FogSetEnabled(false);
    libVCST_gf_ShowHideStoryUnits(true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1009

    }

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1010


    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Artanis"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Kerrigan"));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1011

    CutsceneRemoveGlobalFilter("CoreStage1");
    CutsceneRemoveGlobalFilter("CoreStage2");
    CutsceneRemoveGlobalFilter("CoreStage3");
    libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Artanis"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Kerrigan"));
    if (((libVoiC_gf_NumberOfMissions(libVoiC_ge_MissionCountOptions_Completed) >= 16) || (libVoiC_gf_MissionStatusCheck("PKorhal02", libVoiC_ge_MissionStatus_Completed) == false))) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1015

    if (((libVoiC_gf_NumberOfMissions(libVoiC_ge_MissionCountOptions_Completed) >= 16) || (libVoiC_gf_MissionStatusCheck("PKorhal02", libVoiC_ge_MissionStatus_Completed) == false))) {
        libVCST_gf_ShowHideUnitAbs(false, gv_uNITWarCouncilSet02);
        CutsceneRemoveGlobalFilter("Capsule");
        CutsceneAddGlobalFilter("CapsuleOff");
        libVCST_gf_StorySetUnitLocation(libVCST_gf_ClickableUnit("Preserver"), UnitGetAttachmentPoint(gv_uNITWarCouncilSet00, "Pos_Firebat"));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2mapMapScript.galaxy:1021

    else {
        libVCST_gf_ShowHideUnitAbs(true, gv_uNITWarCouncilSet02);
        CutsceneRemoveGlobalFilter("CapsuleOff");
        CutsceneAddGlobalFilter("Capsule");
        if ((libVoiC_gf_MissionStatusCheck("PUlnar03", libVoiC_ge_MissionStatus_Available) == true)) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1957

    CutsceneAddGlobalFilter(lv_locationFilter);
    libVoiC_gf_CampaignPlayCutscene2(lv_spaceScene, true, true);
    CutsceneRemoveGlobalFilter(lv_locationFilter);
    CameraApplyInfo(1, lp_camera, 0.0, -1, 10, true);
    CameraSetValue(1, c_cameraValueDistance, 100.0, 0.0, -1, 0.0);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1388

        lv_indexLocation = CatalogEntryGet(c_gameCatalogLocation, auto4D578797_ai);
        if ((libVoiC_gf_PC_LocationCutsceneFilter(lv_indexLocation) != null)) {
            CutsceneRemoveGlobalFilter(libVoiC_gf_PC_LocationCutsceneFilter(lv_indexLocation));
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1427

    }

    CutsceneRemoveGlobalFilter("Episode1");
    CutsceneRemoveGlobalFilter("Episode2");
    CutsceneRemoveGlobalFilter("Episode3");

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1428


    CutsceneRemoveGlobalFilter("Episode1");
    CutsceneRemoveGlobalFilter("Episode2");
    CutsceneRemoveGlobalFilter("Episode3");
    lv_episodeNumber = 1;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1429

    CutsceneRemoveGlobalFilter("Episode1");
    CutsceneRemoveGlobalFilter("Episode2");
    CutsceneRemoveGlobalFilter("Episode3");
    lv_episodeNumber = 1;
    auto44D60EBD_ae = CatalogEntryCount(c_gameCatalogMap);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:1268

        lv_indexLocation = CatalogEntryGet(c_gameCatalogLocation, auto2D3FC782_ai);
        if ((libNovC_gf_NC_LocationCutsceneFilter(lv_indexLocation) != null)) {
            CutsceneRemoveGlobalFilter(libNovC_gf_NC_LocationCutsceneFilter(lv_indexLocation));
        }