HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Changing Multiboard Title for Each Player To Match Related Info To Only That Player?

08-06-2007, 02:52 PM#1
Brash
I have a 10 player game with a multiboard the keeps track of various stats of each player.. kills, deaths, and some other info, ect. When the board is minimized I would like each player to see a brief stat kept in their title of their multiboard. I'm unsure of how to write that trigger so that it only writes to the title of the correct person's board. The only idea I've had was using the localplayer method like what you'd do when you dont want sound to play to other people and only for a certain one but i'm not sure if this would work or even be good for keeping it from splitting..

Is this how i should do it or wont that work or is there another way?



also, is it possible to only show this when it's minimized and to display a standardized title when it's maxmized?
08-06-2007, 03:19 PM#2
Histenchist
Trigger:
Custom Script if( GetLocalPlayer() == GetTriggerPlayer() ) then
Multiboard Change title blabla
Custom Script endif
I think that would work.
08-06-2007, 03:58 PM#3
MaD[Lion]
this will cause desync... which means serversplit or disconnect
08-06-2007, 04:10 PM#4
Brash
Quote:
Originally Posted by MaD[Lion]
this will cause desync... which means serversplit or disconnect

so how would it be done? surely there is a way; i've seen other maps do it.
08-06-2007, 04:11 PM#5
MaD[Lion]
i dont know u can try this way. But i think it desync.

It might be possible to create many multiboards, and do the display multiboard for local player
08-06-2007, 09:16 PM#6
botanic
you would need a seperate multiboard for each player ~.~
08-06-2007, 09:20 PM#7
Histenchist
This might be interesting.
08-07-2007, 11:54 AM#8
botanic
that is still creating a multiboard for each player jsut in an easier way ;P

you can also achieve that in GUI by doing a for intiger a from 1-12 do ... and use a Multiboard[intiger a] instade of a non array multiboard variable
08-08-2007, 12:12 AM#9
Brash
Quote:
Originally Posted by Histenchist
This might be interesting.

hey, thanks a lot. that's very helpful!

whoo hoo rep


hm.. by the looks of it. it looks like that example uses the getlocalplayer.. but instead of changing one multiboard's title that everyone sees based on the getlocalplayer (which you guys said causes a desync).. it looks like it just creates 10 multiboard and only lets 1 per player be allowed to see based on that getlocalplayer.. so it shouldn't desync since it's not a shared board, right????
08-08-2007, 12:44 AM#10
botanic
nope it wont desync as all the maps will have all 10 multi boards stored (with all values ect ) however they will only have one displayed to them
08-09-2007, 01:43 AM#11
Brash
great. thanks a lot.

by the way, (in case it might help you) in the example at that link (HERE) i've noticed that it creates the board for all but not within an if/than/else for a getlocalplayer comparison.. just the show board.. and when i tried to do it exactly that way it jumbled the board up.. i think it was overlapping boards.. so i tried not only having the board SHOW based on getlocalplayer but CREATED it based on getlocalplayer as well.. and for some reason that seems to work. board not jumbled up when i do that.