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!
Ok, first you have to make a spell in the Object Editor (F6) under the 'Abilities' tab. Press Ctrl+Shift+N to make a new custom ability. You best base it on a spell that has the most in common with your spell. That means check if the spell got Area of Effect, effects specific units or has a special buff or effect if you use that too. Give it a name and the stats you want it to have.
Once you got your spell done, you have to make a trigger for it. In the trigger you make the Event 'Unit - A unit Begins casting an ability'.
Then you make a Condition '(Ability being cast) Equal to <YOUR SPELL>', where you select the spell you just made from the list. If you want the spell to be able to be cast on specific units, then you add that to your conditions.
Finally, you make the Actions. This includes every effect the spell has that can't be entered in the Abilities tab in the Object Editor.
A sample of such a trigger would be
Spell trigger
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Animate Dead
(Unit-type of (Target unit of ability being cast)) Equal to (Unit-type of (Summoned unit))
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Human\Defend\DefendCaster.mdl
Victim and Slasher are just examples you need to make 2 variables and then put them into the trigger. So if you want your trigger to work you need an *caster* variable - unit and an *target unit of ability being cast* variable - unit.
So first make those two variables.
You need to make them!!!!!!!!
In the variables editor make 3 variables - Slasher_Point - Point, victim - Unit and Slasher - Unit.
Then apply the trigger.
No credits needed for that man, i am sure that you would have came with the idea yourself if you would have only read some tutorials before posting the thread.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.