• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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