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

[Spell] [Request]

Status
Not open for further replies.
Level 9
Joined
Dec 4, 2007
Messages
562
Hey coud anybody find or fix w/e a spell that shots out a projectile forward from the units facing direction that damage the first unit it hits and then dissapear.

It is a spell for my Goblin in my new map and if it is possible then I whoud like the projectile's range to be like 1000, :p you get it..

Thanks
 
Level 5
Joined
Jul 24, 2007
Messages
199
Done!

Here you are.

View attachment 35780

Open the map, then, in the trigger editor, click on the highest string (it must be goblinspell.w3x, the name of the map) and follow instructions in the comment window (copy them to Notepad, it would be more comfortable).
I created the spell and 2 modifications; one makes it massive, damaging more than the collider unit, and another needs a point to be targeted when you cast the ability (both can be applied at one time). However, I couldn't make the projectile change its height to draw a typical arc, like attack bolts/arrows do (this IS possible, but I'm too lazy to do this); hope, you need only shockwave-like ability.

P. S. On my map, projectile looks like wisp :). You can try the spell on my map before copying it to your one.
 
Last edited:
Level 9
Joined
Dec 4, 2007
Messages
562
Thank you very much :D
I tested it and its GREAT exactly what I wanted :D just gonna change the projectile.

+++rep!

hmm how much does this spell damage? :p

I dont realy understand those triggers and that makes it hard to import it sense when I import it well.....get an error and disables the spell... Coud you take a look at it?

Here is my map...http://www.hiveworkshop.com/forums/resource.php?t=95259
 
Last edited:
Level 5
Joined
Jul 24, 2007
Messages
199
This means you didn't read everything in the comment. Damage is defined by the function you copy from the script window (in trigger editor -> clck the map name, comment(upper)+script(lower), here it is). Now I'll repair your map.

EDIT: Argh you've not made the main thing. That's what I said - in trigger editor, click that View attachment 35801 !!!
 
Last edited:
Status
Not open for further replies.
Top