# _Cine Mode Turn On/Off For Player Group

FlagsAction | Internal

# Arguments

  • playergroup — Players
  • bool<preset::OnOffOption> — On/Off

Returns — void

void libNtve_gf__CineModeTurnOnOffForPlayerGroup(
	playergroup lp_players,
	bool lp_onOff,
);

Category: Cinematics / Cinematic Mode / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2036


        UISetHotkeyAllowed(lv_validPlayers, c_hotkeyCameraFollow, false);
        libNtve_gf__CineModeTurnOnOffForPlayerGroup(lv_validPlayers, true);
        libNtve_gf__CineModeHideUI(lv_validPlayers);
        CinematicMode(lv_validPlayers, true, lp_duration);

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2088


        libNtve_gf_HideAllCinematicPortraits(lv_validPlayers);
        libNtve_gf__CineModeTurnOnOffForPlayerGroup(lv_validPlayers, false);
        libNtve_gf_SetAllSoundChannelVolumes(libNtve_ge_VolumeChannelMode_Game, lv_validPlayers, MaxF(lp_duration, 1.5));
        libNtve_gf__CineModeRestoreUI(lv_validPlayers);

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1726


        UISetHotkeyAllowed(lv_validPlayers, c_hotkeyCameraFollow, false);
        libNtve_gf__CineModeTurnOnOffForPlayerGroup(lv_validPlayers, true);
        libNtve_gf__CineModeHideUI(lv_validPlayers);
        CinematicMode(lv_validPlayers, true, lp_duration);

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1778


        libNtve_gf_HideAllCinematicPortraits(lv_validPlayers);
        libNtve_gf__CineModeTurnOnOffForPlayerGroup(lv_validPlayers, false);
        libNtve_gf_SetAllSoundChannelVolumes(libNtve_ge_VolumeChannelMode_Game, lv_validPlayers, MaxF(lp_duration, 1.5));
        libNtve_gf__CineModeRestoreUI(lv_validPlayers);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:775


    UISetHotkeyAllowed(lv_validPlayers, c_hotkeyCameraFollow, false);
    libNtve_gf__CineModeTurnOnOffForPlayerGroup(lv_validPlayers, true);
    libNtve_gf__CineModeHideUI(lv_validPlayers);
    CinematicMode(lv_validPlayers, true, 0.0);