HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboard

10-10-2006, 11:32 PM#1
Fr0zenLord
Multiboard... very cramped can anyone help, its like

Fr0ze, 0, 0, 1, (End) its suppost to say Fr0zenLord, 0, 0, 1, 1, 400, 0

(it misses the rest) i've tried increasing the width of the things, but doesnt work:/

>>trigger

Trigger:
Multi
Collapse Events
Time - Elapsed game time is 0.01 seconds
Conditions
Collapse Actions
Multiboard - Create a multiboard with 7 columns and (1 + PlayerCount) rows, titled |cfffff000Statistic...
Collapse For each (Integer A) from 1 to 7, do (Actions)
Collapse Loop - Actions
Collapse For each (Integer B) from 1 to (1 + PlayerCount), do (Actions)
Collapse Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row (Integer B) to Show text and Hide icons
Collapse For each (Integer A) from 2 to 7, do (Actions)
Collapse Loop - Actions
Collapse For each (Integer B) from 1 to (1 + PlayerCount), do (Actions)
Collapse Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column (Integer A), row (Integer B) to 2.75% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 6.50% of the total screen width

now the updating...
Trigger:
Update Copy
Collapse Events
Time - Every 2.00 seconds of game time
Conditions
Collapse Actions
Collapse For each (Integer A) from 1 to 11, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
PlayerHasBoughtHero[(Integer A)] Equal to True
Collapse Then - Actions
Set MultiHeroAgi[(Integer A)] = (Agility of PlayersHero[(Integer A)] (Exclude bonuses))
Set MultiHeroStr[(Integer A)] = (Strength of PlayersHero[(Integer A)] (Exclude bonuses))
Set MultiHeroInt[(Integer A)] = (Intelligence of PlayersHero[(Integer A)] (Exclude bonuses))
Set MultiHeroGold[(Integer A)] = (ThePlayers[(Integer A)] Current gold)
Set MultiHeroLevel[(Integer A)] = (Hero level of PlayersHero[(Integer A)])
Else - Actions
Collapse For each (Integer A) from 1 to 11, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
PlayerHasBoughtHero[(Integer A)] Equal to True
Collapse Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (p1[(Integer A)] + |r)
Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to (String(MultiHeroStr[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer A) to (String(MultiHeroAgi[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 4, row (Integer A) to (String(MultiHeroInt[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 5, row (Integer A) to (String(MultiHeroLevel[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 6, row (Integer A) to (String(MultiHeroGold[(Integer A)]))
Multiboard - Set the text for (Last created multiboard) item in column 7, row (Integer A) to (String(Attacks[(Integer A)]))
Else - Actions

I dont understand why it wont space out properly o_O can anyone help?

And once thats confirmed, the amount of stats & gold etc.. can be from 0 to 99999999 so can I update it by the length of it (E.G, Str = 0, Width of that row = 2%, Str = 10000, Width of that row = 7% etc..), i know how to do this, But I need to get it "Fitting in" first:P
10-11-2006, 03:50 PM#2
oNdizZ
Multiboard - Set the width for (Last created multiboard) item in column (Integer A), row (Integer B) to 2.75% of the total screen width

Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 6.50% of the total screen width

try a small wait between these.

ive had some problems with setting the width right after eachother. seems as if the action needs a little time for itself ;)
10-11-2006, 08:03 PM#3
Fr0zenLord
ok ty
10-13-2006, 02:48 PM#4
BertTheJasser
Tip:If you use 0 for the colum/row, all rows/colums will be set the sime size.