• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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

Status
Not open for further replies.
Level 7
Joined
Mar 16, 2014
Messages
169
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 45
Joined
Feb 27, 2007
Messages
5,578
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