Detecting if multiboard is closed/open for a player?

Handless

New Member
Reaction score
2
Hi,

Is it possible to detect if a player has minimized/maximixed multiboard?

Also, can I show/hide multiboard for one only player with GetLocalPlayer?
 

Handless

New Member
Reaction score
2
Thanks! But how can I check if it's minimized/mazimized for one player only?

Edit: This doesn't work
Trigger:
  • Actions
    • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Last created multiboard) is showing) Equal to (==) True
        • Then - Actions
          • Multiboard - Minimize (Last created multiboard)
        • Else - Actions
          • Multiboard - Maximize (Last created multiboard)
    • Custom script: endif


(event is Player Skips Cinematic)
 

Wratox1

Member
Reaction score
22
create a multiboardvariable and set it to your multiboard, or did you just create the multiboard in your trigger before those actions? if not, there is no "last created multiboard" and thats why its not working..
 

Squeekems

TH.net Regular
Reaction score
11
create a multiboardvariable and set it to your multiboard, or did you just create the multiboard in your trigger before those actions? if not, there is no "last created multiboard" and thats why its not working..

Example of what he said:

Trigger:
  • Create Multlboard
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled This are Multiboard
      • Set var_Multiboard = (Last created multiboard)


Like Wratox1 said, If there is no "Last created multiboard" earlier in the trigger, it will not recognize anything. "Last created multiboard" does not continue through triggers, but a variable will.
 

Handless

New Member
Reaction score
2
Thanks DioD, I just removed the condition under the GetLocalPlayer and it started working.

@ Wratox1 and Squeeqems: Last created multiboard/leaderboard is actually a global thingy, but thanks for trying :)
 
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