• 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] Multiboard help!

Status
Not open for further replies.
Okay guys, im making a system that is showing a multiboard when you enter "skill mode". Is there any way to make a multiboard only show up for a specific player? Or is there a similar way to give the player informations about his hero's stats? (and im not talking about "Game - Text", but something similar to a multiboard)

My system have to be MUI/MPI. It is going to be used in my project.
 
Level 12
Joined
May 21, 2009
Messages
994
If you are looking for someone you might put this in the request forum... Anyway for making only show for 1 player each so in player 1 red's mulitboard you can see hes stats or something you need this code:

  • Multiboard Create
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • -------- 12 = number of players --------
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Multiboard - Create a multiboard with 1 columns and 4 rows, titled Multiboard ;)
          • Set Multiboard[(Integer A)] = (Last created multiboard)
          • Multiboard - Set the width for Multiboard[(Integer A)] item in column 0, row 0 to 15.00% of the total screen width
          • Multiboard - Set the text for Multiboard[(Integer A)] item in column 1, row 1 to (Name of (Player((Integer A))))
          • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
          • Multiboard - Hide Multiboard[(Integer A)]
          • Custom script: endif
          • Multiboard - Show Multiboard[(Integer A)]
I think its this code "
JASS:
if GetLocalPlayer() == GetTriggerPlayer()
- this makes it shows for 1 player. I dont know if it works 100%
 
Status
Not open for further replies.
Top