# Kick From Game
Grammar — Kick playerGroup from the game
Flags —Native
|Action
Kicks every player in the specified player group from the game
# Arguments
playergroup
— Player Group
Returns — void
native void KickFromGame(playergroup inPlayerGroup);
# Related
Category: Game / Transitions
- GameSetNextCampaignIndex —
void
— GameSetNextCampaignIndex - End Game For Player —
void
— GameOver - Restart Game —
void
— RestartGame - Kick From Game —
void
— KickFromGame - Set Next Map —
void
— GameSetNextMap - Set Transition Map —
void
— GameSetTransitionMap - Set Next Mission Difficulty —
void
— SetNextMissionDifficulty - Game Is Transitioned —
bool
— GameIsTransitionMap
# Examples
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:969
}
KickFromGame(PlayerGroupAll());
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:4036
SoundStop(libPEB1_gv_coreChargingLoop, true);
libPVEM_gf_PvEVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
KickFromGame(PlayerGroupAll());
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:4066
libPEB1_gf_ShowHideHoldoutPanel(false);
libPVEM_gf_PvEVictoryDefeat(false, null, null);
KickFromGame(PlayerGroupAll());
}
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:12084
libGame_gv_players[EventPlayer()].lv_victoryDefeat = c_gameOverVictory;
libPVEM_gf_PvEEndGameForPlayer(EventPlayer());
KickFromGame(PlayerGroupSingle(EventPlayer()));
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:2189
// Implementation
libPVEB_gf_PBVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
KickFromGame(PlayerGroupAll());
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:10197
libPEB1_gf_ShowHideBossPanel(false);
libPVEB_gf_PBVictoryDefeat(false, null, null);
KickFromGame(PlayerGroupAll());
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:11249
libGame_gv_players[EventPlayer()].lv_victoryDefeat = c_gameOverVictory;
libPVEB_gf_PBEndGameForPlayer(EventPlayer());
KickFromGame(PlayerGroupSingle(EventPlayer()));
return true;
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:1484
// Implementation
libPVEM_gf_PvEVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
KickFromGame(PlayerGroupAll());
}
mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod — base.stormdata/LibPVEM.galaxy:2756
Wait(2.0, c_timeGame);
libPVEM_gf_PvEVictoryDefeat(false, null, null);
KickFromGame(PlayerGroupAll());
return true;
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:274
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeStatusUI, false);
Wait(3.0, c_timeGame);
KickFromGame(PlayerGroupAll());
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:566
}
KickFromGame(libCore_gv_playerGroupFromPlayer[lp_player]);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:5706
libGame_gf_AssignMVP(lp_winningTeam);
}
KickFromGame(PlayerGroupAll());
}