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

Hidding floating text

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
That would work to make it visible for every player but MyPlayer and definatly does not need any enumeration.

The GetLocalPlayer() native returns the player who's computer runs it. As every human player runs the command, each of them get their own slot returned from that native as they run it. The result is a value that is out of sync with everyone else and thus can be used to determine when to run stuff locally. Avoid using any net traffic altering natives while out of sync via the statment as that will cause a game split. Altering handles locally will cause a split cause of how the game engine works as well.
 
Status
Not open for further replies.
Top