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

The blight growth small below the hero when walking...

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
You have to use trigger for repeated creation of Blight.
  • Blight Creation
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Set BlightLoc = (Position of YourUnit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (BlightLoc is blighted) Equal to True
        • Then - Actions
        • Else - Actions
          • Environment - Create Blight for (Owner of YourUnit) from BlightLoc to a radius of 200.00
      • Custom script: call RemoveLocation(udg_BlightLoc)
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Create a Point variable and name it BlightLoc (location to check)
Create a Unit variable and name it YourUnit (this is which unit that creates the Blight)
After that, use the Set Variable action.

And just follow trigger above.

I provided you a test map.
 

Attachments

  • CreateBlight.w3x
    12.5 KB · Views: 114
Level 2
Joined
Jun 6, 2012
Messages
13
Blight creation
Events
Time - Elapsed game time is 0.50 seconds
Conditions
Actions
Set BlightLoc = Archimonde 1127 <gen>
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Center of Region 004 <gen>) is blighted) Equal to True
Then - Actions
Else - Actions
Environment - Create Blight for Player 1 (Red) from (Center of Region 004 <gen>) to a radius of 200.00
Custom script: RemoveLocation(udg_BlightLoc)
 
Status
Not open for further replies.
Top