• 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.

[Trigger] Potential desync with getlocalplayer whiting out a player's screen

Status
Not open for further replies.
Level 7
Joined
Mar 16, 2014
Messages
166
I have a spell that when cast, wipes the player's screen for a few seconds to white. My map is desyncing a lot and getlocalplayer apparently causes desyncs. Should this trigger be causing desyncs? The spell has been used countless times without desyncing.

YyOxUTQ.png
 
Level 42
Joined
Feb 27, 2007
Messages
5,330
Looks fine to me but perhaps only put the DisplayCineFilter lines inside the local if block. Everything else can be done outside of the block and then just show the filter for a specific player. You could also do it without ifblocks at all and just write call DisplayerCineFilter(GetLocalPlayer() == Player(udg_FlashbangPlayerNumber)).
 
Status
Not open for further replies.
Top