SC2Mapster.com Wiki

Galaxy / Triggers / Category Environment

Environment

Creep And Power

Creep Adjacent

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

Creep Is Present

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

Modify Creep

  • 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

  • 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

  • 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

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

Effects

Create Explosion At Point

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

Triggering Effect Used

Triggering Effect Amount (Real)

Triggering Effect Amount (Integer)

Triggering Effect Point

Triggering Effect Unit

Triggering Effect Unit Owner

Triggering Effect Unit Type

Destroy Effects

  • 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

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

Player Can Create Effect On Unit

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

Create Effect At Point (From Player)

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

Create Effect On Unit (From Player)

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

Unit Can Create Effect At Point

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

Unit Can Create Effect On Unit

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

Create Effect At Point (From Unit)

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

Create Effect On Unit (From Unit)

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

Damage Unit (From Unit)

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

Validate Player Can Create Effect At Point

Validate Player Can Create Effect On Unit

Validate Unit Can Create Effect At Point

Validate Unit Can Create Effect On Unit

Fog And Background

Set Fog Color

  • Sets the color of environmental fog.

Set Fog Density

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

Enable/Disable Fog

  • Turns environmental fog on or off.

Set Fog Falloff

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

Set Fog Start Height

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

Set Background Model

  • Set or change the skybox on a map.

Lighting

Set Lighting

  • Changes the lighting on the map.

Set Time of Day Lighting

  • Sets the lighting used by the time of day.

Current Time Of Day

  • Returns the current game time of day.

Day Length

  • Returns the current day length in game seconds.

Time Of Day Is Paused

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

Pause/Unpause Time Of Day

  • Pauses or unpauses the time of day cycle.

Set Time Of Day

  • Sets the time of day.

Set Day Length

  • 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)

  • Returns what cliff level a point is on.

Line Crosses Cliff

Show/Hide Environment

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

Cliff Level Of Point (Real)

  • Returns what cliff level a point is on.

Show/Hide Terrain

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

Set Water State

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

Height At Point

  • Returns the height at a point.

You must login to post a comment. Don't have an account? Register to get one!

Table of contents

  1. 1 Environment
    1. 1.1 Creep And Power
      1. 1.1.1 Creep Adjacent
      2. 1.1.2 Creep Is Present
      3. 1.1.3 Modify Creep
      4. 1.1.4 Set Creep Speed
      5. 1.1.5 Power Is Provided By
      6. 1.1.6 Power Level
    2. 1.2 Effects
      1. 1.2.1 Create Explosion At Point
      2. 1.2.2 Triggering Effect Used
      3. 1.2.3 Triggering Effect Amount (Real)
      4. 1.2.4 Triggering Effect Amount (Integer)
      5. 1.2.5 Triggering Effect Point
      6. 1.2.6 Triggering Effect Unit
      7. 1.2.7 Triggering Effect Unit Owner
      8. 1.2.8 Triggering Effect Unit Type
      9. 1.2.9 Destroy Effects
      10. 1.2.10 Player Can Create Effect At Point
      11. 1.2.11 Player Can Create Effect On Unit
      12. 1.2.12 Create Effect At Point (From Player)
      13. 1.2.13 Create Effect On Unit (From Player)
      14. 1.2.14 Unit Can Create Effect At Point
      15. 1.2.15 Unit Can Create Effect On Unit
      16. 1.2.16 Create Effect At Point (From Unit)
      17. 1.2.17 Create Effect On Unit (From Unit)
      18. 1.2.18 Damage Unit (From Unit)
      19. 1.2.19 Validate Player Can Create Effect At Point
      20. 1.2.20 Validate Player Can Create Effect On Unit
      21. 1.2.21 Validate Unit Can Create Effect At Point
      22. 1.2.22 Validate Unit Can Create Effect On Unit
    3. 1.3 Fog And Background
      1. 1.3.1 Set Fog Color
      2. 1.3.2 Set Fog Density
      3. 1.3.3 Enable/Disable Fog
      4. 1.3.4 Set Fog Falloff
      5. 1.3.5 Set Fog Start Height
      6. 1.3.6 Set Background Model
    4. 1.4 Lighting
      1. 1.4.1 Set Lighting
      2. 1.4.2 Set Time of Day Lighting
      3. 1.4.3 Current Time Of Day
      4. 1.4.4 Day Length
      5. 1.4.5 Time Of Day Is Paused
      6. 1.4.6 Pause/Unpause Time Of Day
      7. 1.4.7 Set Time Of Day
      8. 1.4.8 Set Day Length
    5. 1.5 Terrain And Water
      1. 1.5.1 Cliff Level Of Point (Integer)
      2. 1.5.2 Line Crosses Cliff
      3. 1.5.3 Show/Hide Environment
      4. 1.5.4 Cliff Level Of Point (Real)
      5. 1.5.5 Show/Hide Terrain
      6. 1.5.6 Set Water State
      7. 1.5.7 Height At Point

Facts

Date created
Sep 19, 2010
Last updated
Jan 24, 2011

Authors