# Pause/Unpause Water Transition

GrammarpauseUnpause water transition for waterType
FlagsNative | Action

The Set Water State trigger can be used to transition between two separate water states over a duration. This trigger will pause and resume that transition.

# Arguments

  • string<gamelink::Water> — Water Type
  • bool<preset::PauseUnpauseOption> — Pause/Unpause

Returns — void

native void WaterPause(string inWater, bool inPaused);

Category: Environment / Terrain And Water

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionroach.sc2map/MapScript.galaxy:3362

    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
    libSwaC_gf_HidePlanetPortrait();
    WaterPause("PortZion", true);
    WaterSetState("PortZion|Alternate Setting 2", 0.0, c_wtcLinear);
    VisExploreArea(gv_pLAYER_01_USER, RegionEntireMap(), false, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionroach.sc2mapMapScript.galaxy:3362

    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
    libSwaC_gf_HidePlanetPortrait();
    WaterPause("PortZion", true);
    WaterSetState("PortZion|Alternate Setting 2", 0.0, c_wtcLinear);
    VisExploreArea(gv_pLAYER_01_USER, RegionEntireMap(), false, false);