Player specific Multiboards

Xenoche

Member
Reaction score
18
Hi, Xeno here,

I am scrolling through my GUI interface and I cant seem to find a function that allows me to display a different multiboard for each player.

1. Is it possible to do so?
2. How would I be able to do it if it is possible?
 

Xenoche

Member
Reaction score
18
player_pool = All players currently playing and is equal to user

Code:
Player Group - Pick every player in player_pool and do (Actions)
    Loop - Actions
        Custom script:   if GetLocalPlayer() == GetEnumPlayer() then
        Custom script:   call MultiboardDisplayBJ( true, udg_*name of your multiboard*[GetConvertedPlayerId(GetEnumPlayer())] )
        Custom script:   endif

Ive found this, it hasnt returned any errors and my multiboard still works.
The real test will be in multiplayer, I'll post my findings and hopfully successful results.

If anyone has any improvements of more efficient methods please feel free to post your thoughts and experiences with Player specific multiboards.
 

Chocobo

White-Flower
Reaction score
409
player_pool = All players currently playing and is equal to user

Code:
Player Group - Pick every player in player_pool and do (Actions)
    Loop - Actions
        Custom script:   if GetLocalPlayer() == GetEnumPlayer() then
        Custom script:   call MultiboardDisplayBJ( true, udg_*name of your multiboard*[GetConvertedPlayerId(GetEnumPlayer())] )
        Custom script:   endif

Ive found this, it hasnt returned any errors and my multiboard still works.
The real test will be in multiplayer, I'll post my findings and hopfully successful results.

If anyone has any improvements of more efficient methods please feel free to post your thoughts and experiences with Player specific multiboards.

Why would it desync for you? GetLocalPlayer()? With multiboards, it doesn't.


Code:
Player Group - Pick every player in [I](All players)[/I] and do (Actions)
    Loop - Actions
        Custom script:   if GetLocalPlayer()==GetEnumPlayer() then
        Custom script:   call MultiboardDisplay(udg_Multiboard[GetConvertedPlayerId(GetEnumPlayer())] ),true)
        Custom script:   endif

Each multiboard must be created seperatly for each player. ([1] = Player 1's Multiboard - [2] = Player 2's Multiboard... and so on)


Edit : The only thing that may desync is IsMultiboardDisplayed(<whatever 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