• 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] Uh I couldnt even create a multiboard

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
[TRIGGER="What am I doing wrong here"]Create Board
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 6 columns and 8 rows, titled Game Status
Multiboard - Show (Last created multiboard)
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column (Integer B), row (Integer A) to 3.00% of the total screen width
Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (Name of (Player((Integer A))))
Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to 0
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player((Integer A))) Not equal to Player 1 (Red)
(Player((Integer A))) Not equal to Player 5 (Yellow)
Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer A) to (Name of Heroes[(Integer A)])
Else - Actions
[/TRIGGER]
 
Level 6
Joined
Nov 28, 2007
Messages
203
u don't need to use integer loops for multiboards if ur going to change all rows/columns. :wgrin:
set the number to 0 instead. then it affects all rows.
 
Status
Not open for further replies.
Top