Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Category Environment

From SC2Mapster Wiki
Jump to: navigation, search

Contents

Creep And Power

Creep Adjacent

  • Function. Returns the number of creep tiles adjacent to a point.

Creep Is Present

  • Function. Returns true if creep is present at a specified point.

Modify Creep

  • Action. Add or remove creep around a point. This creep can be normal creep that will receed without a nearby generator, or permanent creep which will remain until removed with a trigger.

Set Creep Speed

  • Action. Sets the speed of creep. Growth determines how rapidly creep will expand from its origin point. Decay determines how rapidly creep will receed if there are no creep generators nearby. Blend determines how rapidly the creep will visually appear, and is seperate from the functional purposes of creep.

Power Is Provided By

  • Function. Returns true if power is provided to a point by a specific unit. Note: The Minimum Power parameter should not be set past 1, unless you have custom units that provide more than a single power level.

Power Level

  • Function. Returns the power level provided to a player at the specified point.

Effects

Create Explosion At Point

  • Action. Creates an explosion at the specified point. This explosion does not cause damage or other gameplay effects.

Triggering Effect Used

  • Action.

Triggering Effect Amount (Real)

  • Action.

Triggering Effect Amount (Integer)

  • Action.

Triggering Effect Point

  • Action.

Triggering Effect Unit

  • Action.

Triggering Effect Unit Owner

  • Action.

Triggering Effect Unit Type

  • Action.

Destroy Effects

  • Action. Removes up to a specified amount of effects within a specified radius of a point. This includes effects created by the game as well as effects created via "Create Effect" trigger actions.

Player Can Create Effect At Point

  • Function. Returns true if the specified player can execute the specified effect at the specified point.

Player Can Create Effect On Unit

  • Function. Returns true if the specified player can execute the specified effect on the specified unit.

Create Effect At Point (From Player)

  • Action. Runs an effect, targeting the specified point. This effect will not have a caster unit.

Create Effect On Unit (From Player)

  • Action. Runs an effect, targeting the specified unit. This effect will not have a caster unit.

Unit Can Create Effect At Point

  • Function. Returns true if the specified unit can execute the specified effect at the specified point.

Unit Can Create Effect On Unit

  • Function. Returns true if the specified unit can execute the specified effect on the specified target unit.

Create Effect At Point (From Unit)

  • Action. Runs an effect, targeting the specified point, as if it was cast by the specified Caster unit.

Create Effect On Unit (From Unit)

  • Action. Runs an effect, targeting the specified unit, as if it was cast by the specified Caster unit.

Damage Unit (From Unit)

  • Action. Deals damage targeting the specified victim, as if it was dealt by the specified attacker unit.

Validate Player Can Create Effect At Point

  • Action.

Validate Player Can Create Effect On Unit

  • Action.

Validate Unit Can Create Effect At Point

  • Action.

Validate Unit Can Create Effect On Unit

  • Action.

Fog And Background

Set Fog Color

  • Action. Sets the color of environmental fog.

Set Fog Density

  • Action. Sets the density of environmental fog. A higher value means thicker fog.

Enable/Disable Fog

  • Action. Turns environmental fog on or off.

Set Fog Falloff

  • Action. Sets the falloff for environmental fog. Falloff determines how far from the fog start height the environmental fog will extend.

Set Fog Start Height

  • Action. Sets the start height for environmental fog. Anything below this height will be completely obscured by environmental fog.

Set Background Model

  • Action. Set or change the skybox on a map.

Lighting

Set Lighting

  • Action. Changes the lighting on the map.

Set Lighting For Player

  • Action. Changes the lighting on the map for a specific player only.

Set Time of Day Lighting

  • Action. Sets the lighting used by the time of day.

Current Time Of Day

  • Action. Returns the current game time of day.

Day Length

  • Function. Returns the current day length in game seconds.

Time Of Day Is Paused

  • Function. Returns true if the game time of day cycle is paused.

Pause/Unpause Time Of Day

  • Action. Pauses or unpauses the time of day cycle.

Set Time Of Day

  • Action. Sets the time of day.

Set Day Length

  • Action. Sets the amount of game time it will take to cycle through 24 hours of time of day.

Terrain And Water

Cliff Level Of Point (Integer)

  • Function. Returns what cliff level a point is on.

Line Crosses Cliff

  • Action.

Show/Hide Environment

  • Action. Shows or hides graphics associated with the game environment. This includes terrain, doodads, and water.

Cliff Level Of Point (Real)

  • Function. Returns what cliff level a point is on.

Show/Hide Terrain

  • Action. Show or hide a region of terrain. Useful for areas of terrain that are entirely covered by a doodad.

Set Water State

  • Action. Changes the water state on a map. This causes a water template to shift between its different pre-determined settings.

Height At Point

  • Function. Returns the height at a point.