• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Quick Question about spells like Flame Strike

Status
Not open for further replies.
Level 3
Joined
Sep 6, 2004
Messages
40
Spells that are cast like Flame Strike and EarthQuake(you click it then there is a AoE circle to cast it in), can those be set to cast around the caster when you click it(like Thunder Clap or War Stomp)??

Thanks for reading and your advice.
 
Level 9
Joined
Jun 10, 2004
Messages
594
You want to make it non-targetable?

There might already be a spell that you canuse, otherwise, base it off a non-targetable spell. When it is casted, use a dummy caster to cast a dummy Flamestrike at the position of the caster.

~The_Raven
 
Level 3
Joined
Sep 6, 2004
Messages
40
Well I wanted to make it so the unit takes damage after the spell has finished(like the minor fire damage after FS is over). Im still a bit new at creating my own spells, but i do know how to make a spell like War Stomp cast in random places around the caster. How do you dummy it(prolly a n00b question).


Thanks for all you help
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Read FAQ please. It should help you for some stuff. Usually dummies are very small, without model, non consumers of food, non-hero and non-workers, with Locust and other abilities needed to be cast depending on the spell. Now, you go for triggers if you want triggable.

Ok, depending on the skill you want to give (Thunder Clap or War Stomp), give the Dummy one skill which would do the appropriate effect. If you would want your Thunder Clap to do 400 damage then make sure that the dummy's Thunder Clap DOES 400 damage.

Event - A unit Starts the Effect of An ability
Conditions - (Ability being Cast) Equal to (Your ability)
Actions - Create 1 Dummy [Note: This is actually your dummy unit] for owner of (Casting Unit) at position of Target Point of Ability being cast
- Set "Dummy_AOE" [Your unit variable] = (Last Created Unit)
- Order Dummy_AOE to ... [note: Whatever skill you gave to te dummy.).
- Wait 0.10 seconds
- Remove Dummy_AOE

That should do it.
 
Status
Not open for further replies.
Top