Mulitiboard Help

Im_On_56k

Hm...
Reaction score
116
Ok i know how to create a multiboard, but never really needed one so i don't know much about them.

How would i make the multiboard change the icon for the player to the hero they have. And in another columm have the % of the hp of the hero and in another how many kills the player has?

The player will only have 1 hero.
 
Multiboards come with "Set item icon", where you can select,
as you may have guessed, an icon.

Now, whether a unit icon is usable there, I wouldn't know...
They are rather large.
(Anyone tried this?)

For the "normal" Heroes, however, you certainly can go with their "score screen" icon.
(Under "units - special")
 
you can do it, ive seen it done before in maps and they use the scorescreen icon, im just not sure how you do it, but you can

im not sure you could have the percent of health left but possibly how much health left. it might be something like

events
a unit is attacked
conditions
none
actions
set score in last created multiboard for owner of attacked unit to acttacked unit's current health (roughly something like that)
show last created multiboard
 
Yes, you can do it, but it's rather painstaking. For the icon, you need to createa pick every unit loop and an if-then-else action for each hero saying "If <herotype> equal to <herotype1> then set icon in row <x>, column <y> to <icon>" Not exact, but that's basically it. As for the percent thing, yes you can do it, just set the value to (current HP / max HP) * 100.

-Edit-

Be sure to convert that to an integer.

-Edit-

There is a better way in a thread with a similar title if you would prefer.
 
I know, I saw that afterward. Here we go again, Ace correcting me for making something simple way more complicated... :P
 
Ryoko, we are using that multiboard, but the probolem is we are trying to add the players hp% in.

I am working with 56k to get it working.
 
I dont think I can quite get what you ment, but here is the multiboard I have re edited.

Update hp
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Attacked unit)) Equal to Player 1 (Red)
(Owner of (Attacked unit)) Equal to Player 2 (Blue)
(Owner of (Attacked unit)) Equal to Player 3 (Teal)
(Owner of (Attacked unit)) Equal to Player 4 (Purple)
(Owner of (Attacked unit)) Equal to Player 5 (Yellow)
(Owner of (Attacked unit)) Equal to Player 6 (Orange)
Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Percentage life of (Attacked unit))))
Multiboard - Show (Last created multiboard)

Create Multiboard
Events
Time - Elapsed game time is 50.00 seconds
Conditions
Actions
Set Player_Count = (Number of players in (All players matching ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
Multiboard - Create a multiboard with 4 columns and (1 + Player_Count) rows, titled |c0096FF96Lumbridge...
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |cffffcc00Player Na...
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Hp %
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to |cffff0000Kills|r:
-------- Now set the fields for the first row, AND our player rows. --------
For each (Integer A) from 1 to (1 + Player_Count), do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Show icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 2.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 10.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 2.50% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row (Integer A) to 2.00% of the total screen width
-------- Quickly change the top row to hide that icon.... --------
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
-------- DEFINE PLAYERS ON THE BOARD --------
-------- List defines the spots on the board, the rows. Starts at second row. --------
Set List = 2
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Actions)
Loop - Actions
-------- Mutiboard_Spots keeps track of which row a player has been put on. It is an integer array. --------
Set Multiboard_Spots[(Player number of (Picked player))] = List
Multiboard - Set the icon for (Last created multiboard) item in column 1, row List to ReplaceableTextures\CommandButtons\BTNArthas.blp
Multiboard - Set the text for (Last created multiboard) item in column 2, row List to (Player_Colors[(Player number of (Picked player))] + ((Name of (Picked player)) + |r))
Unit Group - Pick every unit in (Units in (Playable map area)) and do (If (((Picked unit) is A Hero) Equal to True) then do (Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Percentage life of (Picked unit))))) else do (Do nothing))
Multiboard - Set the text for (Last created multiboard) item in column 4, row List to 0
Set List = (List + 1)
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Life of (Picked unit))))
Multiboard - Show (Last created multiboard)

Tally Score
Events
Unit - A unit Dies
Conditions
((Owner of (Killing unit)) controller) Equal to User
Actions
Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (String(Kill_Count[(Player number of (Owner of (Killing unit)))]))

Define Colors
Events
Map initialization
Conditions
Actions
Set Player_Colors[1] = |c00ff0000
Set Player_Colors[2] = |c000000ff
Set Player_Colors[3] = |c0000ffff
Set Player_Colors[4] = |c00800080
Set Player_Colors[5] = |c00ffff00
Set Player_Colors[6] = |c00ff8000
Set Player_Colors[7] = |c0000ff00
Set Player_Colors[8] = |c00ff00ff

Update Title
Events
Player - Player 12 (Brown)'s Food used becomes Less than or equal to 0.00
Conditions
Actions
Multiboard - Change the title of (Last created multiboard) to (|c0096FF96Lumbridge Invasion|r + (Round - + (String(Round))))
 
Ok trying to go by what ryoko and aceheart said this is the trigger I came up with

Tally Score Copy
Events
Unit - A unit Is attacked
Conditions
((Owner of (Attacked unit)) controller) Equal to User
Actions
Set Player_Hp[(Player number of (Owner of (Attacked unit)))] = (((Integer((Life of (Attacked unit)))) / (Integer((Max life of (Attacked unit))))) x 100)
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String(Player_Hp[(Player number of (Owner of (Attacked unit)))]))

I tried this and it didnt work.
 
I did, and it still didnt work. Ok I done some testing and it shows that this exact line does not want to respond in any way not even color.

Multiboard - Set the text for (Last created multiboard) item in column 3, row List to ((String(Player_Hp[(Player number of (Owner of (Attacked unit)))]))

Maybe this is not letting it work but here is the variable set

Set Player_Hp[(Player number of (Owner of (Attacked unit)))] = (Integer((Percentage life of (Attacked unit))))


P.S I have tried these too and it still wouldent work

Set Player_Hp[(Player number of (Owner of (Attacked unit)))] = (((Integer((Life of (Attacked unit)))) / (Integer((Max life of (Attacked unit))))) x 100)

Set Player_Hp[(Player number of (Owner of (Attacked unit)))] = (Integer((Life of (Attacked unit))))
 
List is a placement of eatch new row for eatch player that is in the game. Look up in these posts a little in my post where I show my Create Multiboard trigger and it makes sence.
 
Well... yes...


In "Update hp", you use:
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to <something>


What row would that be? First? Second? Somewhere outside the board?
 
'Sighs' (DONT MIND THE SIGH I have had a bit of a bad day)
Aceheart. The variable List in that trigger sets the row depending on what player is the triggering player and the part
[(Player number of (Owner of (Attacked unit)))])) sets it so List is the row # is what ever player that is the owner of the attacked unit)
 
Well, I'm having my really slow day today,
so, just for the fun of having something to post,
here's a copy of the trigger as seen in post #11:

Update hp
Events
Unit - A unit Is attacked
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Attacked unit)) Equal to Player 1 (Red)
(Owner of (Attacked unit)) Equal to Player 2 (Blue)
(Owner of (Attacked unit)) Equal to Player 3 (Teal)
(Owner of (Attacked unit)) Equal to Player 4 (Purple)
(Owner of (Attacked unit)) Equal to Player 5 (Yellow)
(Owner of (Attacked unit)) Equal to Player 6 (Orange)
Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row List to (String((Percentage life of (Attacked unit))))

That was simple.

Now, if we have a unit of any players 1 to 6 under attack,
some text is put into "column 3, row list".

Ok, so far.
And you're telling me that your "list" variable automatically
knows what row is what player?

Cool, how is it doing that?

I'm obviously missing the totally obvious ;)
But, well, whatever floats your boat...
 
I am sorry for the sigh, I just had a bit of a rough day and I am a little stredded, I did not mean the sigh to be mean in any way at all.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top