# _Story Mode On/Off For Player
Flags —
Action
|Internal
# Arguments
int
— Playerbool
<preset::OnOffOption> — On/Off
Returns — void
void libNtve_gf__StoryModeOnOffForPlayer(
int lp_player,
bool lp_onOff,
);
# Related
Category: Story / Modes And Sets / Internal
- _Story Mode On/Off For Player —
void
— libNtve_gf__StoryModeOnOffForPlayer - _Story Mode On/Off For Player Group —
void
— libNtve_gf__StoryModeOnOffForPlayerGroup - _Story Mode Internal —
void
— StoryMode - _Story Mode Hide UI —
void
— libNtve_gf__StoryModeHideUI - _Story Mode Restore UI —
void
— libNtve_gf__StoryModeRestoreUI
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4426
lv_pickedPlayer = PlayerGroupNextPlayer(auto476D40C9_g, lv_pickedPlayer);
if (lv_pickedPlayer < 0) { break; }
libNtve_gf__StoryModeOnOffForPlayer(lv_pickedPlayer, lp_onOff);
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3684
lv_pickedPlayer = PlayerGroupNextPlayer(auto476D40C9_g, lv_pickedPlayer);
if (lv_pickedPlayer<0) { break; }
libNtve_gf__StoryModeOnOffForPlayer(lv_pickedPlayer, lp_onOff);
}
}