Page 1 of 1

How can I change the transparity from a unit ?

Posted: Thu Mar 17, 2016 7:59 am
by DieKralle
I want to change the transparity from a unit if he is in a region. A player walks in the region and the unit goes invisible and he is invurnable. I know how to make a unit invurnable. I just want to know how can I change the transparity or make the unit invisible.

Thanks -DieKralle

Re: How can I change the transparity from a unit ?

Posted: Thu Mar 17, 2016 9:00 am
by 3ICE
The unit coloring trigger action has a fourth parameter after RGB, which is the alpha value. This is used to command transparency.

Edit:
Animation - Change Demon Hunter 0000 <gen>'s vertex coloring to (100.00%, 100.00%, 100.00%) with 90.00% transparency

Edit 2 Here are three alternatives:
• Unit - Hide Demon Hunter 0000 <gen>
-or-
• Unit - Add Wind Walk (Neutral Hostile) to Demon Hunter 0000 <gen>
+ Unit - Order Demon Hunter 0000 <gen> to Orc Blademaster - Wind Walk
-or-
• Unit - Add Permanent Invisibility to Demon Hunter 0000 <gen>

Re: How can I change the transparity from a unit ?

Posted: Thu Mar 17, 2016 11:52 am
by DieKralle
Thank you :)