• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How to change a terrain type?

Status
Not open for further replies.
Level 4
Joined
Jun 1, 2007
Messages
92
Using this trigger will create a small circle of blight around Archimonde every second.
  • Blight Walk
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Point = (Position of Archimonde)
      • Environment - Create Blight for Player 1 (Red) from Temp_Point to a radius of 200.00
      • Custom script: call RemoveLocation(udg_Temp_Point)
 
Level 4
Joined
Jun 1, 2007
Messages
92
You don't have to make a variable, but if you don't, you might get slight lag after playing a long time.

To bring up the Variable chart, you must open the trigger editor.
1. find "edit" on the top, click it and find "variables" on the bottom of that list.
2. press ctrl + b
3. click that yellow x-shaped icon right after the undo/redo icons at the top.

After its open, create a variable and name it Temp_Point and change the "Variable Type" to "Point" and press ok.
 
Status
Not open for further replies.
Top