• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Nuke Question.

Status
Not open for further replies.
  • Trigger
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to X
  • Actions
    • Set AreaOfEffect = 200.00 // Real variable
    • Set Point1 = (Target point of ability being cast)
    • Environment - Create Blight for (Owner of (Triggering unit)) from Point1 to a radius of AreaOfEffect
    • Custom script: call RemoveLocation (udg_Point1)
 
Well, yes. Unless you want it only to be 200 units...

Change the number to what you want it to be.
 
Fortunately you want the blighted area to be permanent, if you want it to be temporary then THAT'S hard, requiring save this and that

Not that difficult actually. Calculate polar points so that each 128x128 square gets a point. You can save all tile types used in a map into an array. Then you loop through the array and check the terrain type at each point and save the inxed. Then you can save the terrain variation as an integer. You can create a timed dummy at the point. When the dummy dies, load the original values for the terrain.

I'm using this kind of system in my Lich King spellpack, where terrain gets temporarily frozen around the hero.

Kind of offtopic though.
 
Not that difficult actually. Calculate polar points so that each 128x128 square gets a point. You can save all tile types used in a map into an array. Then you loop through the array and check the terrain type at each point and save the inxed. Then you can save the terrain variation as an integer. You can create a timed dummy at the point. When the dummy dies, load the original values for the terrain.

I'm using this kind of system in my Lich King spellpack, where terrain gets temporarily frozen around the hero.

Kind of offtopic though.

I said it is HARDER than the permanent change of the tiles..
Not IMPOSSIBLE..
 
...if you want it to be temporary then THAT'S hard, requiring save this and that

I said it is HARDER than the permanent change of the tiles..
Not IMPOSSIBLE..

You said it's hard, not harder.

I never claimed you said it's impossible.

I just explained how it can be done, just incase someone is interested.
 
  • Trigger
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to X
  • Actions
    • Set AreaOfEffect = 200.00 // Real variable
    • Set Point1 = (Target point of ability being cast)
    • Environment - Create Blight for (Owner of (Triggering unit)) from Point1 to a radius of AreaOfEffect
    • Custom script: call RemoveLocation (udg_Point1)

okay, sry for being a noob, but i cant find the place to edit the first two actions, where is it?
 
Status
Not open for further replies.
Back
Top