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

Help with spell (it's a end of the world thing)

Status
Not open for further replies.
Level 11
Joined
May 11, 2008
Messages
830
Hello, I'm making a map and I need to know how to do this one spell.

I called my spell The World Shall Perise! basicly my hero is a bada** (kids could be reading this) necromancer who has the power to revive just every single corpse on the map. Now ofcourse he is going to channel this cause it would be cheap.

What I need:
Figure out how to make every corpses revived into a skeleton under the control of the necromancer (Teal).
How to change it into night time when he casts it.

EDIT: I've notice this is a trigger spell (I think) so I basicly placed this in the wrong section can a mod place this in Triggers&Scripts thread please.
 
Level 9
Joined
Nov 28, 2008
Messages
704
Do what ido said, and also make a dummy unit, and have that dummy cast Raise Dead, a spell which you modified to have a huge range, on every corpse in the map.

Then make another trigger that triggers when he stops channeling, and kills all those skeletons, removes the dummy unit, and sets the night/day cycle on.
 
Level 11
Joined
May 11, 2008
Messages
830
Do what ido said, and also make a dummy unit, and have that dummy cast Raise Dead, a spell which you modified to have a huge range, on every corpse in the map.

Then make another trigger that triggers when he stops channeling, and kills all those skeletons, removes the dummy unit, and sets the night/day cycle on.

Ok so you mean I need to create a new Raise Dead ability, put Casting Range on 999999 or is it Area of Effect 9999999, sry im a bit newbish to this.
 
Level 12
Joined
Aug 22, 2008
Messages
911
Base the system on the original unit's Channel ability.
Make a trigger that when the unit channels the ability, the time of day is set and a dummy unit is created. The dummy has the ability Animate Dead with the Area of Effect (AOE) set to 999999999, and it casts the ability right after it is created.
As said, you should also create another trigger that fires at the event "a unit stops channeling an ability", with matching conditions. This trigger will kill the units raised from this ability.
Some rules for you to know, in case you don't know:
-Dummy units have no model file or an invisible model file and have the ability Locust, which makes them invulnerable to attack, spell and selection, like the Locusts of the Crypt Lord's Locust Swarm ability.
-The Dummy unit will have an expiration timer of the casting time to it, to prevent memory and game leaking.
 
Status
Not open for further replies.
Top