HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need Help with Transparency Ability

07-17-2004, 03:46 PM#1
RayStorm
I am trying to make an ability that turns the hero 95% transparent and when it stays still, it will not be seen 'I did this part already'. The problem is that i set the triggers to Events Predator Starts casting an ability, ability = Cloaking device, give predator shadowmeld and make unit 95% transparency. And when the pred stops casting the ability = remove shadowmeld ability and return pred to 0% transparency. The prob is i used Demon hunter's Immolation for this so the 'casting' lasts for a few seconds and stops.... I need to know an ability or trigger on how to prevent this

And By the way... how do you upload a map into this website?
07-17-2004, 03:51 PM#2
th15
You shouldn't use "stops casting an ability". You can only use "begins casting an ability", "finishes casting an ability" or "starts the effect of an ability" for what you are trying to do. "Stops casting an ability" fires when you cancel the order to cast the ability.

What you should do is set a boolean variable to true the first time the hero casts immolation. The next time it casts immolation (or turns it off) you can tell that it's turning immolation off by checking the variable. I posted something very similar just last week.