• 🏆 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!

[Trigger] i need a trigger to make a white screen on the screen for 5sec

Status
Not open for further replies.
Level 16
Joined
Jul 21, 2008
Messages
1,121
Here you go, try this (be advised that I didn't test it for desyncs)

  • Actions
    • -------- Include this into your flashbang trigger --------
    • -------- You have to know which player is the target --------
    • -------- I am using dangerous script below so be careful with it --------
    • Set Player = (Triggering player)
    • -------- I made player variable here to make life easier for the GUI users --------
    • Custom script: if GetLocalPlayer()==udg_Player then
    • -------- Inside this custom script better do not put ANY additional code --------
    • -------- You can allways modify cinematic filter, though --------
    • Cinematic - Fade out and back in over 5.00 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
    • Custom script: endif
 
Status
Not open for further replies.
Top