# Clear Selected Planet

Grammar — Clear the currently selected planet for playerGroup
Flags — Native | Action

Clears the planet selection on the planet panel for the specified players.

# Arguments

  • playergroup — PlayerGroup

Returns — void

native void PlanetClearSelected(playergroup inPlayerGroup);

Category: Story / Planet Panel / Planet Panel

# Examples

campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:10289

void gf_PlanetPanelDestory () {
    // Implementation
    PlanetClearSelected(PlayerGroupAll());
    PlanetDestroyAll(PlayerGroupAll());
    gv_planetPanel_Created = false;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:10289

void gf_PlanetPanelDestory () {
    // Implementation
    PlanetClearSelected(PlayerGroupAll());
    PlanetDestroyAll(PlayerGroupAll());
    gv_planetPanel_Created = false;