I know how to make most kinds of abilities, but Im not so sure about channeled ones. I want to make it so your hero has an ability that takes 10 or so seconds to charge up, and if you get attacked the channel is broken and the spell stops early. Once the spell is done, I will use a trigger to teleport the unit to his or her teams base. Any advice on the channeling?
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
I think what you might be looking for is called prepare. For example when a battlecruiser uses a yamato cannon it has to w8 like 3 or 4 seconds. Those 3 or 4 seconds is called a prepare in the editor. Channeling is something more like the medic heal where theres an effect with being cast.
So what you can do is create a dummy ability with like say a 10 second prepare time. Then have a trigger to go off when that ability is cast to teleport the caster.
Wow thats way easier than I though it would be, thanks.
edit- how would I have the spell interrupted if damage is taken? Data or triggers? also, how do I make the progress bar appear? I'll see if I can figure it out, but if anybody knows please help me out.
I know how to make most kinds of abilities, but Im not so sure about channeled ones. I want to make it so your hero has an ability that takes 10 or so seconds to charge up, and if you get attacked the channel is broken and the spell stops early. Once the spell is done, I will use a trigger to teleport the unit to his or her teams base. Any advice on the channeling?
I think what you might be looking for is called prepare. For example when a battlecruiser uses a yamato cannon it has to w8 like 3 or 4 seconds. Those 3 or 4 seconds is called a prepare in the editor. Channeling is something more like the medic heal where theres an effect with being cast.
So what you can do is create a dummy ability with like say a 10 second prepare time. Then have a trigger to go off when that ability is cast to teleport the caster.
Wow thats way easier than I though it would be, thanks.
edit- how would I have the spell interrupted if damage is taken? Data or triggers? also, how do I make the progress bar appear? I'll see if I can figure it out, but if anybody knows please help me out.