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

Multiboard for 1 player

Status
Not open for further replies.
Level 16
Joined
Jul 31, 2012
Messages
2,217
I am making a multiboard for each player in my map,
I am using this kind of trigger:
  • trigger
  • Events -
  • elapsed game time = 0.00s
  • Conditions -
  • Actions -
  • Loop - for each integer (x) from 1 to 12 do actions
    • Multiboard - create a multiboard with 7 rows and 7 columns titled title
    • Set multiboard [x] = last created multiboard
    • Multiboard - Hide last created multiboard
    • If local player == player (udg_x-1)
    • Multiboard - Show multiboard [x]
    • Custom script - endif
Now this trigger is not copied from the editor, i writed it now because i am out of reach from it

Now the problem is; the multiboard does not show :( and i have mo idea why (i think i made what has to be done but i don't know why it doesn't work
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Men i have that too..

I remembered that to show a multiboard to a certain players

You need to use a loop

or

Directly assign to the players (i know you know what i mean) getlocalplayer = 0

Use the Command Strings also.. and you use a Variable for a player which is i think it makes not to work...
 
Level 16
Joined
Jul 31, 2012
Messages
2,217
This is the trigger for the creation:
  • trigger 1
  • Events -
  • Time - elapsed game time equal to 0.00 s
  • Conditions -
  • Actions -
  • For each (Integer x) from 2 to 12, do (Actions)
    • Loop - Actions
      • Multiboard - create a multiboard with 9 columns and 7 rows titled (title)
      • Set Multiboard [x] = (Last created multiboard)
      • Multiboard - Hide Multiboard[x]
  • Custom script: if GetLocalPlayer() == Player(1) then
  • Multiboard - Show Multiboard[2]
  • Custom script - endif
  • .......... And it continues to the end of players
Now, the multiboard shows up but, this trigger; does not change the title
  • trigger 2
  • Events -
  • Time - Every 1 second of game time
  • Conditions -
  • Actions -
  • For each (integer x) from 2 to 12 do (actions)
    • Loop - Actions
      • Multiboard - change title of Multiboard[x] to (title)
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
I think your problem is you use a loop to set ID for the variables..

I am very sure that your problem is on the loop..

I have the solution to that but it is very hurtful..

Try it in the hard way.. instead of using [x] try to use Multiboard [1], Multiboard [2]..so on and so forth..

Use change title to Multiboard [1]. Multiboard [2],..

It will work but only on the hard.. but just copy paste dude..

Dont use loop
 
Status
Not open for further replies.
Top