I did it but nothing really happens, I am getting confused with the abilities part, I have read Daelin's tutorial about dummy units and I know how to make one, I added the ability that I made to the dummy and use triggers, but nothing works in-game.
Can you show me a trigger here? Or just provide me a map with it.
(Off Topic: Sorry for double posting.)
Edit: Hey, can you show me the things that I should edit in a custom ability? Like the cooldown and duration stuffs, maybe I'm wrong in the customs I made.
I got 2 Abilities, 1 Mass Impale [Impale - Hero Type Skill] and a Mass Impale for Dummy Unit, its same settings but its just an Unit Type Skill, and for my Dummy Unit, I made one by using Daelin's Tutorial about Dummy Units. I followed all the triggers in this tutorial so its actually the same.
* Massive Impale
o Events
+ Unit - A unit Starts the effect of an ability
o Conditions
+ (Ability being cast) Equal to Massive Impale
o Actions
+ Set Caster = (Triggering unit)
+ Set Real = 0.00
+ Set CasLoc = (Position of (Triggering unit))
+ For each (Integer A) from 1 to 8, do (Actions)
# Loop - Actions
* Unit - Create 1 Dummy Unit for (Owner of Caster) at CasLoc facing default building facing degrees
* Unit - Turn collision for (Last created unit) Off
* Unit - Add Massive Impale (Dummy) to (Last created unit)
* Unit - Set level of Massive Impale (Dummy) for (Last created unit) to (Level of Massive Impale (Hero) for (Triggering unit))
* Set LocOffset[(Integer A)] = (CasLoc offset by 700.00 towards Real degrees)
* Unit - Order (Last created unit) to Undead Crypt Lord - Impale LocOffset[(Integer A)]
* Set Real = (Real + (360.00 / 8.00))
* Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
* Custom script: call RemoveLocation(udg_LocOffset[bj_forLoopAIndex])
+ Custom script: call RemoveLocation(udg_CasLoc)
Thank you.
Again Test Map is much appreciated.