HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Generic Custom Spell Help

01-15-2005, 09:32 PM#1
oNdizZ
Is there any way in GUI or JASS (probebly jass) to make a unit hmm... not paused but, like it were channeling? and then is it doable to detect when it stops channeling?

I'm trying to make a summon skill which summons a puppet and when that puppet is summoned your hero will be in a channeling state and you will be able to move your puppet, but if you stop channeling with the hero the puppet-skill will be aborted, the puppet will be removed and the skill's cooldown will start to tick away...

any help? and plz. if its jass, try to make it in easy "GUI-Custom Script - Jass"
:)

thx on advance...
01-15-2005, 09:47 PM#2
iNfraNe
basically what you should do, is make a dummy channeling spell (my best guess is the hero ability "channel" which is also invisible if not changed). When the "puppet" is summoned, give the hero the ability and make him cast it.

Now there is an event called "Generic Unit - unit stops casting a spell". Use that, and add the condition ability = your custom dummy channel spell. And there you go, this runs when he moves and his puppet is out, so in the actions just remove your puppet and remove the channel ability again.

btw: make the channel ability have a really high duration so it wont stop from itself ;)

gl
01-15-2005, 10:19 PM#3
oNdizZ
thx, i tried too give you rep, but it says i need to spread it out some before i give it to you again. so you'll have to wait for that one :D
but it will come eventually.. =)

thx again...
01-15-2005, 10:20 PM#4
iNfraNe
lol :P np ^_^
01-16-2005, 02:29 PM#5
Shark
i hate to brake it to you, but thats what the tornado spell does :)))
it spawns the tornado, and the tornado is alive while the naga is channeling it (or until its expiration .... well, expires)
if the naga stops channeling, the spell breaks.....
haven't tried summoning something else with the tornado, but don't worry about the damage and all..... they're in the Tornado Aura (and that does damage to buildings and units and whatsoever)
you can at least try it out and spread the news of your result.....
01-16-2005, 02:40 PM#6
iNfraNe
Quote:
Originally Posted by Shark
i hate to brake it to you
why hate it. Sound like a good idea 2 me...
01-16-2005, 05:22 PM#7
Shark
well yeah, but it was like "well, sorry im too late to maybe save you a couple test/debug sessions" :)))
i really never tried tweaking the tornado spell, so go for it..... i might try it for myself right now (but im too lazy) :)