# Pause/Unpause Water Transition
Grammar — pauseUnpause water transition for waterType
Flags —Native
|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 Typebool
<preset::PauseUnpauseOption> — Pause/Unpause
Returns — void
native void WaterPause(string inWater, bool inPaused);
# Related
Category: Environment / Terrain And Water
- Show/Hide Environment —
void
— EnvironmentShow - Height At Point —
fixed
— WorldHeight - Terrain Texture At Point —
string
<gamelink::TerrainTex> — TerrainTexture - Cliff Level Of Point (Integer) —
int
— CliffLevel - Cliff Level Of Point (Real) —
fixed
— PointPathingCliffLevel - Line Crosses Cliff —
bool
— CrossCliff - Terrain Has Custom Attribute —
bool
— HasCustomCellAttribute - Show/Hide Terrain —
void
— TerrainShowRegion - Set Water State —
void
— WaterSetState - Pause/Unpause Water Transition —
void
— WaterPause
# Examples
campaigns/swarm.sc2campaign — base.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.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);