- Joined
- Nov 17, 2004
- Messages
- 277
Hi. In my map I have units that can cloak. I've used a dummy spell to cause a trigger to add permanent invisibilty to them, and can be cast again to remove it. That all works fine. What I was wondering was if someone could write a custom script so that when the invisibility is removed, their transparency is set to 95%, then to 0% over about 1.5 seconds. Is this possible? I'm trying to make an inverse effect to when the invisibility is added and they appear to fade to the enemy: I'd like them to fade back in. I tried doing this with unit groups but had no luck.
Basically, the cloaked unit casts the spell, the permament invis is removed, * , it is removed from the unit group. I would like a script to put where the * is. The unit is set to the variable "Casting_Unit" if thats any help. Thanks.
Basically, the cloaked unit casts the spell, the permament invis is removed, * , it is removed from the unit group. I would like a script to put where the * is. The unit is set to the variable "Casting_Unit" if thats any help. Thanks.