• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] two multiboards but no at the same time

Status
Not open for further replies.
hi, I want to make a multiboard to appear for 10 seconds and then the main multiboard to be back. For this I thought his will work... (test) But doesn't?

  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Trigger - Turn off 1 <gen>
      • Trigger - Turn on 2 <gen>
  • Multiboard 1/2
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Multiboard - Show multiboard 1/2
 
omg... the 0.10 seconds is to always show the multiboard because otherwise it will disappear. Look carefully. What I try is to switch the triggers for the multiboards so I show the other one and hide the main.

How are we supposed to tell anything from your triggers. We don't know what triggers 1 or 2 do. The trigger that shows the multiboard every 0.10 seconds is useless. You only need to show the multiboard once. Then it stays there.
If you are trying to stop the player from minimizing the multiboard then you need to change the show multiboard to maximize the multiboard.

You really need to explain your questions better and give adequate information. (all your triggers related to that question)
You keep doing this over and over and then you blame the people that try to help you.

Take time and edit your question with everything we need to help you.

Edit:
This is all. What else you want to see? the trigger for adding rows, columns and title to the second?

How are you expecting to show the multiboard for 10 seconds if you show another multiboard every 0.10 seconds ????

Where is the trigger that shows the other multiboard ?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Triggers

  • CINE SKIP Copy 2
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Countdown Timer - Start timer as a One-shot timer that will expire in 10.00 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (mb1 is showing) Equal to True
        • Then - Actions
          • Multiboard - Hide mb1 // Might not be needed
          • Multiboard - Show mb2
        • Else - Actions
          • Multiboard - Hide mb2 // Might not be needed
          • Multiboard - Show mb1
  • Untitled Trigger 118
    • Events
      • Time - timer expires
    • Conditions
    • Actions
      • Trigger - Turn on CINE SKIP Copy 2 <gen>
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
Use GetLocalPlayer to hide/show multiboards for specific clients.

GetLocalPlayer returns a constant value for each client representing the player that the client controls. This value is asynchronous so can be used to run triggers only for a specific client. Care must be taken to avoid breaking determinism of the session as that will cause an out of synchronization error (a game split).

I know for a fact that you can safely use GetLocalPlayer to hide and show multiboards for only a single client. This is how you can have different multiboards shown for different players. All you need to do is make a multiboard management system that is per client so that you can know which multiboard to show a given client at any time.
 
  • Transmission Panel
    • Events
      • Time - Elapsed game time is 10.00 seconds
    • Conditions
    • Actions
      • Multiboard - Change the title of Transmissions to Transmission Panel
      • Multiboard - Change the number of rows for Transmissions to 2
      • Multiboard - Change the number of columns for Transmissions to 1
      • Multiboard - Set the display style for Transmissions item in column 1, row 1 to Show text and Hide icons
      • Multiboard - Set the width for Transmissions item in column 1, row 1 to 16.00% of the total screen width
      • Multiboard - Set the width for Transmissions item in column 1, row 2 to 16.00% of the total screen width
      • Multiboard - Set the text for Transmissions item in column 1, row 1 to any text
      • Multiboard - Set the text for Transmissions item in column 1, row 2 to any text
  • Untitled Trigger 001
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Multiboard - Hide (Last created multiboard)
      • Multiboard - Show Transmissions
Kind of thsi is what maker shown me. Yea, but after I hide the main the second does not appear. nothing.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
Do you ever initialize Transmissions? In GUI you need to create the multiboard and then set the multiboard variable to Last created multiboard otherwise the variable is nothing more than null (or whatever it initializes to).

Multiboard - Hide (Last created multiboard)
Use a variable as last created multiboard is ambiguous so may be prone to errors.
 
Do you ever initialize Transmissions? In GUI you need to create the multiboard and then set the multiboard variable to Last created multiboard otherwise the variable is nothing more than null (or whatever it initializes to).


Use a variable as last created multiboard is ambiguous so may be prone to errors.

I have no problem with the main multiboard.
 
Status
Not open for further replies.
Top