# Global Cinematic Setting (Fixed Seed On/Off)
Grammar — Turn global cinematic setting onOff
Flags —Action
Turns on/off the aspects of cinematic mode that are not player-specific, such as game speed. This will also turn on fixed random seed, so random rolls done while in cinematic mode will come out the same every time it is run. These settings affect all players, so this action should not be used if some players in a game are viewing a cinematic while others are not. This action is intended to be used in conjunction with the “Cinematic Mode” action.
# Arguments
bool
<preset::OnOffOption> — On/Offbool
<preset::OnOffOption> — Fixed Seed On/Off
Returns — void
void libNtve_gf_GlobalCinematicSettingFixedSeedOnOff(
bool lp_onOff,
bool lp_fixedSeedOnOff,
);
# Related
Category: Cinematics / Cinematic Mode
- Cinematic Mode —
void
— libNtve_gf_CinematicMode - Global Cinematic Setting —
void
— libNtve_gf_GlobalCinematicSetting - Global Cinematic Setting (Fixed Seed On/Off) —
void
— libNtve_gf_GlobalCinematicSettingFixedSeedOnOff - Set Cinematic Transition Style —
void
— libNtve_gf_SetCinematicTransitionStyle - Player In Cinematic Mode —
bool
— libNtve_gf_PlayerInCinematicMode
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2130
// Automatic Variable Declarations
// Implementation
libNtve_gf_GlobalCinematicSettingFixedSeedOnOff(lp_onOff, true);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:718
libCOMI_gf_CM_CinematicModeActivate();
libNtve_gf_GlobalCinematicSettingFixedSeedOnOff(true, false);
auto311CBA6C_g = libCOOC_gf_CommanderPlayers();
lv_indexPlayer = -1;