- Joined
- Feb 3, 2009
- Messages
- 3,292
Hello, in my map I have a terrain editor unit, this unit has many abilities to change the terrain type at the target point, they're based on channel, each have an unique ability id. Most of them work, however a couple of random ones just either don't do anything (nothing happens upon cast) or change the terrain into something completely else. Examples: Snow does nothing, Grass Trim creates a dirt terrain, dark marble creates the road type, etc.
Help greatly appreciated.
-
Terrain Change
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Unit-type of (Triggering unit)) Not equal to (!=) Dummy Caster
-
Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Grass
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Grass using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Light Grass
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Lordaeron Summer - Dark Grass using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Grass Trim
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Grass Trim using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Road
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Round Tiles using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - White Marble
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - White Marble using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Black Marble
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Black Marble using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Square Tiles
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Square Tiles using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Black Bricks
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Icecrown Glacier - Black Bricks using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Dirt
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Cityscape - Dirt using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Sand
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Sunken Ruins - Sand using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Snow
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Northrend - Snow using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Blight
-
Then - Actions
- Environment - Create Blight for (Owner of (Triggering unit)) from (Target point of ability being cast) to a radius of ((Real(TerrainInt[(Player number of (Owner of (Triggering unit)))])) x 250.00)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Remove Blight
-
Then - Actions
- Environment - Remove Blight for (Owner of (Triggering unit)) from (Target point of ability being cast) to a radius of ((Real(TerrainInt[(Player number of (Owner of (Triggering unit)))])) x 250.00)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Dry Magma
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Dungeon - Dark Rocks using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Lava
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Dungeon - Lava using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ability being cast) Equal to (==) Terrain Change - Rough Dirt
-
Then - Actions
- Environment - Change terrain type at (Target point of ability being cast) to Barrens - Rough Dirt using variation -1 in an area of size TerrainInt[(Player number of (Owner of (Triggering unit)))] and shape Square
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events