• 🏆 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!

[Trigger] Multiboard for each player

Status
Not open for further replies.
Level 3
Joined
Jun 16, 2016
Messages
50
Hello guys,

Sorry if i've created this thread in wrong section.
So let's get into my problem , i want to create Multiboard which will show specific stats for each player
Player name as title , Then kills , humanity , blood etc...
This ain't be the real problem.
But when it comes to compilin'
Im not sure how to call if GetLocalPlayer() == IntegerA
any suggestions?
And even would i even work if i just use Integer A as arrays as player numbers?

  • MB stats
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 11, do (Actions)
        • Loop - Actions
          • Multiboard - Create a multiboard with 7 columns and 2 rows, titled Your character
          • Set player_stats[(Integer A)] = (Last created multiboard)
          • Multiboard - Change the title of player_stats[(Integer A)] to (Name of (Player((Integer A))))
          • Multiboard - Set the text for player_stats[(Integer A)] item in column 1, row 1 to Blood
          • Multiboard - Set the text for player_stats[(Integer A)] item in column 2, row 1 to <Empty String>
          • Multiboard - Set the text for player_stats[(Integer A)] item in column 2, row 1 to Kills
          • Multiboard - Set the text for player_stats[(Integer A)] item in column 2, row 1 to Humanity
          • Multiboard - Hide player_stats[(Integer A)]
          • Custom script: if GetLocalPlayer() == bj_forLoopAIndex
          • Multiboard - Show player_stats[(Integer A)]
          • Custom script: endif
 
Status
Not open for further replies.
Top