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

[Solved] Why is this failing?

Status
Not open for further replies.
Level 4
Joined
Jan 3, 2013
Messages
69
I've been working a Hero Survival and i wanted to make a skill, well... i think you can figure it out checking the triggers.
I dont know why but it doesnt make anything


[trigger=Canalizacion Destructiva]
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Canalizacion destructiva
Actions
For each (Integer A) from 1 to 20, do (Actions)
Loop - Actions
Set CanalDestructivo_Unit = (Position of (Triggering unit))
Set CanalDestructivo_Start = (CanalDestructivo_Unit offset by 400.00 towards (18.00 x (Real((Integer A)))) degrees)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at CanalDestructivo_Start facing (Angle from CanalDestructivo_Start to CanalDestructivo_Unit) degrees
Set CanalDestructivo_Dummy = (Last created unit)
Unit - Add Enjambre Carroñero (CanalDestructivo) to CanalDestructivo_Dummy
Unit - Set level of Enjambre Carroñero (CanalDestructivo) for CanalDestructivo_Dummy to (Level of Canalización destructiva for (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to CanalDestructivo_Dummy
Unit - Order CanalDestructivo_Dummy to Undead Dreadlord - Carrion Swarm CanalDestructivo_Unit
Custom script: call RemoveLocation(udg_CanalDestructivo_Unit)
Custom script: call RemoveLocation(udg_CanalDestructivo_Start)
[/trigger]
 
Status
Not open for further replies.
Top