HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Transparency

09-23-2006, 05:15 AM#1
Nubcookie
Hi. I'm making a spell where each rank makes you 25%/50%/75%/100% transparent. My friend told it it there was a spell like it in dota or some other nameless aoe map, so it is possible. Just wondering how it can be done.

Thanks in advanced.

ps, I have WEU.
09-23-2006, 05:24 AM#2
SentryIII
I don't believe it's possible. Either you're invisible or not, but why would you want a spell has different levels of transparency? It doesn't sound like it will have any impact in gameplay.
09-23-2006, 05:28 AM#3
Blade.dk
If it is just for the look, then modify the alpha vertex color, that should be quite easy.
09-23-2006, 05:58 AM#4
The_AwaKening
I took the liberty of making the trigger for you in GUI since it is very simple.
Trigger:
Invis
Collapse Events
Unit - A unit Learns a skill
Collapse Conditions
(Learned Hero Skill) Equal to Channel
Collapse Actions
Animation - Change (Learning Hero)'s vertex coloring to (100.00%, 100.00%, 100.00%) with ((Real((Level of Channel for (Learning Hero)))) x 25.00)% transparency
Of course you would just change "Channel" to your ability.
09-23-2006, 06:50 AM#5
sheep.spirit
Try to have a refrsh trigger, like if u type smth, u cast a dummy spell on the invis unit, and change the vertex colour of it again, because if its a hero, it may revert back to its original transparency after death and revival
09-23-2006, 07:24 AM#6
Nubcookie
Wow, thank you very much for the quick replies and answers!
09-23-2006, 03:51 PM#7
The)TideHunter(
Yes, if the unit is slowed or poisoned, its colour is changed, and its alpha is reset back to 100%.
So you should be aware of that.