# Kick From Game

Grammar — Kick playerGroup from the game
FlagsNative | Action

Kicks every player in the specified player group from the game

# Arguments

  • playergroup — Player Group

Returns — void

native void KickFromGame(playergroup inPlayerGroup);

Category: Game / Transitions

# Examples

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:969


    }
    KickFromGame(PlayerGroupAll());
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:4036

    SoundStop(libPEB1_gv_coreChargingLoop, true);
    libPVEM_gf_PvEVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
    KickFromGame(PlayerGroupAll());
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.stormdata/LibPEB1.galaxy:4066

    libPEB1_gf_ShowHideHoldoutPanel(false);
    libPVEM_gf_PvEVictoryDefeat(false, null, null);
    KickFromGame(PlayerGroupAll());
}

mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmodbase.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.stormmodbase.stormdata/LibPEB1.galaxy:2189

    // Implementation
    libPVEB_gf_PBVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
    KickFromGame(PlayerGroupAll());
}

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:10197

    libPEB1_gf_ShowHideBossPanel(false);
    libPVEB_gf_PBVictoryDefeat(false, null, null);
    KickFromGame(PlayerGroupAll());
    return true;
}

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.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.stormmodbase.stormdata/LibPVEM.galaxy:1484

    // Implementation
    libPVEM_gf_PvEVictoryDefeat(true, lp_cameraRevealRegion, lp_cameraTarget);
    KickFromGame(PlayerGroupAll());
}

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEM.galaxy:2756

    Wait(2.0, c_timeGame);
    libPVEM_gf_PvEVictoryDefeat(false, null, null);
    KickFromGame(PlayerGroupAll());
    return true;
}

mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmodbase.stormdata/LibLNYF.galaxy:274

    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeStatusUI, false);
    Wait(3.0, c_timeGame);
    KickFromGame(PlayerGroupAll());
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:566

        }

        KickFromGame(libCore_gv_playerGroupFromPlayer[lp_player]);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:5706

        libGame_gf_AssignMVP(lp_winningTeam);
    }
    KickFromGame(PlayerGroupAll());
}