• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Filter

Status
Not open for further replies.
Level 9
Joined
Apr 7, 2010
Messages
480
how do i make a 1 player filter?

i am planning on making a blood filter every time a unit gets hit, but i don't know how to make the filter for only one player. can someone tell me how?
 
View this thread:
http://www.hiveworkshop.com/forums/cinematics-268/tips-tricks-cinema-39854/

And then scroll to the bottom, there is a short description on how to do it properly. :)

  • Set AlphaReal = 100
  • Custom script: if GetLocalPlayer() == Player(0) then
  • Set AlphaReal = 0
  • 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 AlphaReal transparency
If players in JASS is confusing for you, then you can do this:
  • Set FilterPlayer = Player 1 (Red)
  • Set AlphaReal = 100
  • Custom script: if GetLocalPlayer() == udg_FilterPlayer then
  • Set AlphaReal = 0
  • 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 AlphaReal transparency
Just modify "FilterPlayer".
 
Status
Not open for further replies.
Top