F
Frockner
Guest
I am finally getting the hang of the World Editor, but this is still an area that i just don't understand--making dummy units and getting them to cast spells.
I just have some general questions first, then i'll ask about an ability i am trying to make. What is the best way to make a dummy unit? When i use a trigger to issue that unit to cast a custom spell, it doesn't show up on the list--the only spells that appear are the generic abililities in the game. Is it possible to order a unit to cast a CUSTOM spell instead of having to use one that the game provides?
The ability i want to create is a hex-like spell (cast by a unit, NOT a hero) that hexes all enemies (even enemy creeps) into a random creep for 8 seconds (same time for both heroes and creeps). I really didn't know what unit to base it off of, so i tried to base it off of Starfall. I increased the cast range and AOE to the max level possible. I removed all damage. Tweaked mana costs and the amount of time the spell is channeled for.
Then i did a trigger that said when a unit begins channeling an ability equal to (custom ability name) to create the dummy unit at the position of the casting unit. I ordered that unit to use Orc-shadow hunter hex.
That's where i got lost. I tried to use a random unit from a random 200 units in the playable map area, but it seems like the dummy unit doesn't even cast the spell. Then i waited 1 second and removed the dummy unit from the game.
I just don't know why it's not working. I tried a similar spell before when a unit would cast shadowstrike to create a dummy unit that would cast shadow strike on units around the casting unit but once again, the dummy unit never cast the spell.
Does anyone know how i could do that ability and more importantly, tell me what i am doing wrong with the creation of these custom abilities?
I just have some general questions first, then i'll ask about an ability i am trying to make. What is the best way to make a dummy unit? When i use a trigger to issue that unit to cast a custom spell, it doesn't show up on the list--the only spells that appear are the generic abililities in the game. Is it possible to order a unit to cast a CUSTOM spell instead of having to use one that the game provides?
The ability i want to create is a hex-like spell (cast by a unit, NOT a hero) that hexes all enemies (even enemy creeps) into a random creep for 8 seconds (same time for both heroes and creeps). I really didn't know what unit to base it off of, so i tried to base it off of Starfall. I increased the cast range and AOE to the max level possible. I removed all damage. Tweaked mana costs and the amount of time the spell is channeled for.
Then i did a trigger that said when a unit begins channeling an ability equal to (custom ability name) to create the dummy unit at the position of the casting unit. I ordered that unit to use Orc-shadow hunter hex.
That's where i got lost. I tried to use a random unit from a random 200 units in the playable map area, but it seems like the dummy unit doesn't even cast the spell. Then i waited 1 second and removed the dummy unit from the game.
I just don't know why it's not working. I tried a similar spell before when a unit would cast shadowstrike to create a dummy unit that would cast shadow strike on units around the casting unit but once again, the dummy unit never cast the spell.
Does anyone know how i could do that ability and more importantly, tell me what i am doing wrong with the creation of these custom abilities?