Replacing Terrain In-Game

Status
Not open for further replies.
Level 12
Joined
Dec 13, 2008
Messages
1,049
Hello everyone. So I have a problem with this trigger. What is supposed to occur, is that upon research, heroes, upgrades, units, are supposed to become available (those are easy, but i wont include those in the text below) as well as terrain is suppossed to appear at a certain spot. The spot is blighted, so I'd like it if it was replaced with grass (it is supposed to represent the Holy Light taking over). However, once the trigger occurs, the grass appears but then is reverted back to blight.
If someone could shed some light on this issue (no pun intended :goblin_good_job: ) it would be greatly appreciated. Thank you very much!

  • A New Dawn
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes research
    • Conditions
      • (Researching unit) Equal to Mastery Research Station - Silver Hand 0407 <gen>
      • (Researched tech-type) Equal to Mastery - A New Dawn
    • Actions
      • Unit - Kill (Researching unit)
      • Environment - Change terrain type at (Center of New Plaguelands Terrain <gen>) to Ashenvale - Lumpy Grass using variation -1 in an area of size 3 and shape Circle
 
Level 4
Joined
Jan 27, 2010
Messages
133
You'll have to remove the blight manually, before adding terrain.

I just tested on pre-placed blight.

  • Environment - Remove Blight for Neutral Passive from (Center of New Plaguelands Terrain <gen>) to a radius of 400.00
 
Level 4
Joined
Jan 27, 2010
Messages
133
Yah, at least if the blight is placed with terrain editor. In my testmap I even removed the blight directly after changing the terrain...

I think the blight might grow back if it is generated by a building (undead buildings usually generate blight)
 
Level 12
Joined
Dec 13, 2008
Messages
1,049
Awesome. I will test it very soon then! :D
And none of the buildings in my generate blight (even the undead ones, i removed that) so that wont be a problem

EDIT: It works perfectly, thanks a lot!!
 
Last edited:
Status
Not open for further replies.
Top