# _Story Mode On/Off For Player Group

FlagsAction | Internal

# Arguments

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

Returns — void

void libNtve_gf__StoryModeOnOffForPlayerGroup(
	playergroup lp_players,
	bool lp_onOff,
);

Category: Story / Modes And Sets / Internal

# Examples

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

        }

        libNtve_gf__StoryModeOnOffForPlayerGroup(lv_validPlayers, true);
        libNtve_gf__StoryModeHideUI(lv_validPlayers);
        autoD6B5FE03_g = lv_validPlayers;

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

        }

        libNtve_gf__StoryModeOnOffForPlayerGroup(lv_validPlayers, false);
        libNtve_gf__StoryModeRestoreUI(lv_validPlayers);
        autoF122BA15_g = lv_validPlayers;

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

        }

        libNtve_gf__StoryModeOnOffForPlayerGroup(lv_validPlayers, true);
        libNtve_gf__StoryModeHideUI(lv_validPlayers);
        autoD6B5FE03_g = lv_validPlayers;

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

        }

        libNtve_gf__StoryModeOnOffForPlayerGroup(lv_validPlayers, false);
        libNtve_gf__StoryModeRestoreUI(lv_validPlayers);
        autoF122BA15_g = lv_validPlayers;