Different Multiboards for each Player?

maldruzard

Member
Reaction score
2
Hey there!

I am trying to create a local multiboard that is unique for each player on my map. Each player should have one that displays their kills, murders, deaths, etc... in the multiboard, but only their data is displayed to them. However, it has become apparent to me that multiboards have no option to be shown to specific players, so I do not know how to make a unique multiboard for each player that shows that player their unique scores (kill strings, death strings, etc...).

Does anyone know how to create multiboards locally for each player?


Edit: One other, unrelated question (don't want to make a new thread): Is it possible to hide or cover up the health and mana values underneath the portrait of a unit without making the unit invulnerable? Cheers!
 

Imp Midna

Active Member
Reaction score
52
I guess its possible when you use GetLocalPlayer().
Trigger:
  • For each (Integer A) from 1 to 10, do (Actions)
    • Loop - Actions
      • Set KillStrings[Player(Integer A)] = String(Kills[Player(Integer A)])
      • [...]
    • Custom script: set udg_LocalPlayer = GetLocalPlayer()
    • Multiboard - Set the text for (Last created multiboard) item in column x, row y to KillStrings[PlayerNumber(LocalPlayer)]
    • Custom script: set udg_LocalPlayer = null


Note that using LocalPlayer might cause desyncs in some cases. Test it with a friend or use a sandbox to start warcraft twice and test it via lan.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top