• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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

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