HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Activated Ghost

10-08-2005, 10:04 AM#1
Tooolbox
I am pretty stumped on this, even though I pride myself on my knowledge of the Object Editor.

I want to make the Ghost ability (you can attack while invisible, without losing your invis) into an activated ability. I tried adding Icons, spell durations, mana costs, icon positions, buffs, sounds, targets, hotkeys and order strings...no luck. The problem is that the icon just doesn't seem to show up. There's probably a solution for this (I did a search through the forums to see if anyone had already asked this questiona and I found something about using dummy skills, but the person didn't go into details...) and it would be really good if someone could point me in the right direction. In the meantime I'll continue to experiment.
10-08-2005, 08:11 PM#2
Anitarf
Abilities are what they are. You can't turn a passive ability into an active one just by changing a field. If it's passive, it's passive. Find another ability that acts passively, and then add/remove the ghost ability with triggers when that other ability is activated/deactivated.
10-08-2005, 08:23 PM#3
Mezzer
What u need is a dummy ability (base it off of berserk, that works nicely) which has your icon, mana cost and whatever, and you make a trigger which looks kinda like this:

Event
Unit starts the effect of an ability
Conditions
Ability being cast equal to INSERT_DUMMY_HERE
Actions
Give triggering unit the GHOST ability
Wait(INSERT_DURATION_HERE)
Remove the GHOST ability from triggering unit

You dont need JASS to do this, so it should be easy for ya
10-09-2005, 08:43 AM#4
Tooolbox
Lol, yes I actually did that. Thx guys. It's annoying how you can't do that tho o_o You can't make spells channel or not, and so on. How did the guys at WCIII do it (didn't they use WE to make WCIII--along with model editors etc).