HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with spell: Decieve

08-11-2004, 09:38 PM#1
Ogre_Bob
Hey all. In the map I'm working on currently, I want to have an ability called: Decieve. What this spell does is takes control of a target enemy unit as long as the caster remains channeling. So of course, I absed it off the channel ability with triggers. The only problem is, when i gave it to the unit (non-hero, by the way) the ability doesnt even show up! Does channel have to be a hero ability to work? What's wrong here?

edit: Just so I don't have to start another thread, I also am having another problem. I have made an aura based off of endurance aura that I want to only affect worker units. I tried setting the worker unit's "targeted as" and "Unit Classification" to Suicidal, and making it so that the aura only affects sappers, but the aura doesnt affect anything. What should I do?
08-11-2004, 10:34 PM#2
Hound Archon
what do you exactly mean??
08-12-2004, 01:48 AM#3
Ogre_Bob
What do you mean, what do I mean? Be specific on what you don't understand?
08-12-2004, 02:07 AM#4
Murloc Lover
im afraid i dont know much about the channel ability.....
08-12-2004, 05:45 AM#5
Anitarf
The channel is a special kind of spell, you must set some parameters properly in order for it to work. For your spell, just base it on something like drain life, it will be easier to do. Then, use the event "starts the effect of an ability" to gain control of target unit, and store it to a variable. Then, on event "stops casting an ability", use that variable to give the unit back to the original owner (you need the variable because "event response - target unit of ability being cast" doesn't work with stops or finishes casting an ability events)
08-12-2004, 06:06 AM#6
logik
with the endurance aura spell... why not make it target "worker" not suicidal
08-12-2004, 08:30 AM#7
Panto
For the Aura, I think the targets also has to include ground, air, or both. I'm given to understand that, if a unit is a ground unit, it won't be targeted by a spell no matter what, if Ground isn't included in the Target Allowed.

Regarding Channel, If you go to the Data - Options field and check "Visible", it will show up in the command card.
08-12-2004, 08:01 PM#8
Ogre_Bob
Thanks Panto, you're always a huge help. Major props =].