• 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.

[Help]Need Tutor about Multiboard for every player

Status
Not open for further replies.
Level 13
Joined
Sep 13, 2010
Messages
550
I did not found any tutorials but here is the thing you need:

  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • -------- Here you create the multiboards, new for each player... Save them into variables. --------
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled My Local Multiboard
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled My Local Multiboard...
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled My Local Multiboard...
      • Multiboard - Create a multiboard with 1 columns and 1 rows, titled My Local Multiboard...
      • -------- There should not be any multiboards displayed --------
      • Multiboard - Hide (Last created multiboard)
      • -------- Now show every MB for each player --------
      • Custom script: if GetLocalPlayer( ) == Player( 0 ) then // Player IDs are from 0-11. 1 less than in GUI.
      • Multiboard - Show (Multiboard1)
      • Custom script: endif
      • Custom script: if GetLocalPlayer( ) == Player( 1 ) then // Player IDs are from 0-11. 1 less than in GUI.
      • Multiboard - Show (Multiboard2)
      • Custom script: endif
      • Custom script: if GetLocalPlayer( ) == Player( 2 ) then // Player IDs are from 0-11. 1 less than in GUI.
      • Multiboard - Show (Multiboard3)
      • Custom script: endif
      • Custom script: if GetLocalPlayer( ) == Player( 3 ) then // Player IDs are from 0-11. 1 less than in GUI.
      • Multiboard - Show (Multiboard4)
      • Custom script: endif
      • -------- etc... This should make the different multiboards to be displayed for each player --------
If you have any questions just ask.
 
Level 13
Joined
Sep 13, 2010
Messages
550
with arrays you can make it easier:
  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • -------- Here you create the multiboards, new for each player... Here you save them into variables. If the all MB is similar then you can put it into a loop. --------
        • Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
          • Loop - Actions
            • Multiboard - Create a multiboard with 1 columns and 1 rows, titled My Local Multiboard
            • Set MB[(Integer A)] = (Last created multiboard)
      • -------- There should not be any multiboards displayed --------
      • Multiboard - Hide (Last created multiboard)
      • Do Multiple ActionsFor each (Integer A) from 0 to 11, do (Actions)
        • Loop - Actions
          • Custom script: if GetLocalPlayer( ) == Player( bj_forLoopAIndex ) then
          • Multiboard - Show MB[((Integer A) + 1)]
          • Custom script: endif
 
Status
Not open for further replies.
Top