Multiboard for each player issue

Nexor

...
Reaction score
74
I'm trying to show multiboards locally to the players to allow them to see their own data. I have some questions about this. I run this trigger from another, it will show the multiboard to the player when he selects a unit of his:

Trigger:
  • Multiboard update
    • Events
    • Conditions
    • Actions
      • Custom script: set udg_LOCALPLAYER = GetLocalPlayer()
      • Set PLAYER_NUMBER = (Player number of (Triggering player))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering player) Equal to LOCALPLAYER
        • Then - Actions
          • Multiboard - Show MULTIBOARD[PLAYER_NUMBER]
          • Custom script: set udg_UNIT[ udg_PLAYER_NUMBER ] = HERO[ udg_PLAYER_NUMBER - 1 ]


Will it work in multiplayer? Won't this desync ?

The other question related to this:
I'm creating multiboard for each player. If I change a text in a row, do I have to use the GetLocalPlayer() or it is just needed when displaying a multiboard?
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top