So I have this spell that sends a dummy projectile flying through the air.
What I want it to do is damage the first unit it reaches, then kill the projectile.
Projectile flying works fine, damaging the unit that comes in range works fine, but I can't figure out how to reference the...
Give the dummy immolation or Phoenix fire maybe?
For phoenix fire, you want an insanely fast projectile, a very fast cooldown (0.1s would work), and a duration of about a second.
Oh and, short range so it only hits units under the projectile.
Immolation would also work, but it could hit...
Or you could do something simple like this.
Events
Unit - A unit Begins casting an ability
Conditions
((Owner of (Triggering unit)) Food used) Greater than or equal to ((Owner of (Triggering unit)) Food max)
Actions
Unit - Order (Triggering unit) to Stop
Game - Display to...
He wants, when a unit starts an ability, if certain conditions are not met (Invalid target etc.), for the unit to be ordered to stop, canceling the ability.
If you use "Starts the effect of" as a trigger for this spell check trigger, it will not work because the ability will have already...
It does matter because if you tell a unit to stop after "Unit starts the effect", the ability will still work.
Unit begins casting happens as soon as the order is given but before the spell is actually cast, so you want to use this as your event to prevent the unit from using the spell on...
In my experience, if you set the acquisition range to 0 it effectively becomes infinite, the unit will try to attack any enemy in the players field of vision, provided of course it can attack the unit in question.
I found that setting the acquisition range to 1 will stop a unit from attacking...
Or use channel and 3 different abilitys to simulate leveling up.
Set them all into an ability variable then use Add Doom[Level of AoEDoom for casting unit] to Dummy.
Both the caster art and the damage art for Immolation are found in the buffs editor. Just find Immolation and make your our version of it with suitable lightning effects.
He means the hotkey. Thats easy to change, just look for Text - Hotkey in the editor.
Careful not to get 2 or more spells with the same hotkey though, it gets confused and will irritate your players.
Hmm, Are you trying to make an targetable AoE Animate Dead/Raise Dead?
If so, using Channel with a targeting image as a base, then checking for all units in the area that are dead, then reviving them and giving control to casting unit, should do the trick. (Or instead of reviving, replacing...