• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Fade Filtlers for One player

Status
Not open for further replies.
Level 4
Joined
Mar 16, 2009
Messages
34
i am making a 4 players map,
in this map i want to show some Fade filters.

the problem is that "GUI" only have options to show a filtler for all players.
:goblin_boom:

there are some way to show a fade filters for only one player in gui or jass?

Thank you very much
:ogre_haosis:







English is not my native language so sorry for my way of writing
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
It works like this:
  • Set tempPlayer = (Player)
  • Set tempReal = 100.00
  • Custom script: GetLocalPlayer() == udg_tempPlayer then
  • Set tempReal = 0.00
  • Custom script: endif
  • Cinematic - Fade out and back in over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with tempReal transparency
Basically, you still show the filter for everyone.
The difference is that it will only be visible to 1 player (because the transparency is 100% for all other players, making it invisible).
 
Level 4
Joined
Mar 16, 2009
Messages
34
It works like this:
  • Set tempPlayer = (Player)
  • Set tempReal = 100.00
  • Custom script: GetLocalPlayer() == udg_tempPlayer then
  • Set tempReal = 0.00
  • Custom script: endif
  • Cinematic - Fade out and back in over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with tempReal transparency
Basically, you still show the filter for everyone.
The difference is that it will only be visible to 1 player (because the transparency is 100% for all other players, making it invisible).

thank bro:thumbs_up:, +2 rep

but i have a simple question ¿If i want to show more that one filtler at same time for diferent players, it work?
 
Level 4
Joined
Mar 16, 2009
Messages
34
Status
Not open for further replies.
Top