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

[Trigger] animate dead spell

Status
Not open for further replies.
Level 3
Joined
Nov 12, 2007
Messages
28
So guys my coding skills suck so much that I can't make a simple spell.I wanted to make spell that picks all units below 50% hp in area around the caster ,makes lightning effect from caster to picked units ,lifts 'em up kills them and when they drop to the ground rise them as animate dead units.So I tryed to use the animate dead spell and make trigger that picks the units and kills them.Well what I got was-as I cast the spell units below 50% die and rise all that in an instant and to top it I don't know how make animate dead castable without corpses around.I did some research in the forum so the lightning effects need hashtables? Can't do it :D also no idea how to lift up picked units for a second without using waits aaand it seems triggers below the waits don't work as the picked units stay in the air alive.
 
Level 13
Joined
May 11, 2008
Messages
1,198
which lightning effect are you talking about? 'zap' or lines?

not sure, but i somewhat doubt you would need hashtables...although if you want it mui, i guess hashtables could help.
anyway, i myself don't know how to use hashtables and i don't always make my spells mui. not sure if you need it mui or not but anyway...main thing is...you want to get the spell coded.

why don't you show us what you have so far? might give us a better idea of what you're trying to do.
 
Level 3
Joined
Nov 12, 2007
Messages
28
Well after 2 days I've made...something.You will probably wanna kill me after seeing this :D but I'm kinda proud cause its not crashing the map...yet .Anyways can you guys help with the lightning, I want them to follow the units z offset and after that disappear god damn I can't destroy those lightnings .
 

Attachments

  • AnimateDead.w3x
    17.3 KB · Views: 71
Level 7
Joined
Apr 30, 2011
Messages
359
if u want to create lightnings with z-axis then use custom script . . . .
only this that can do that . . .

call AddLightningEx('AFOD', true, x1, y1, z1, x2, y2, z2)
just change those x1, y1, z1 with lightning source's coordinates and x2, y2, z2 with the target's
 
Status
Not open for further replies.
Top