How can I change the transparity from a unit ?

Do you need World Editor help? Ask here!
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.

Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.

Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.

Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)

How can I change the transparity from a unit ?

New postby DieKralle on Thu Mar 17, 2016 7:59 am

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
"You can't blame gravity, for falling in love" - Albert Einstein
User avatar
DieKralle
 
Posts: 112
Joined: Thu Jan 07, 2016 1:05 pm
Realm: Europe
Account: Die_Kralle

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

New postby 3ICE on Thu Mar 17, 2016 9:00 am

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>
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

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

New postby DieKralle on Thu Mar 17, 2016 11:52 am

Thank you :)
"You can't blame gravity, for falling in love" - Albert Einstein
User avatar
DieKralle
 
Posts: 112
Joined: Thu Jan 07, 2016 1:05 pm
Realm: Europe
Account: Die_Kralle


Return to HELP



Who is online

Users browsing this forum: No registered users and 5 guests

cron