Crazy Multiboard idea.. :D

Exuro.

New Member
Reaction score
5
instead of doing that i could do this:

Code:
Multiboard - Set the text for MultiBoard item in column 3, row 2 to (Player11HPText + (  + ((String((Percentage life of (Picked unit)))) + %)))

Then it shows the % bar after the bar following it down :) or just make it next to dunno yet.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Actually, the entire thing would just look better with something like this:
Code:
Init
    Events
        Time - Elapsed game time is 0.00 seconds
    Conditions
    Actions
        Set TempString = <Empty String>
        For each (Integer A) from 1 to 100, do (Actions)
            Loop - Actions
                Set TempString = (TempString + ||)
        Set Strings[0] = <Empty String>
        For each (Integer A) from 1 to 50, do (Actions)
            Loop - Actions
                Set Strings[(Integer A)] = (Strings[((Integer A) - 1)] + ||)
        For each (Integer A) from 1 to 49, do (Actions)
            Loop - Actions
                Set Strings[(Integer A)] = (|cffffcc00 + (Strings[(Integer A)] + (|r|cffffffff + ((Substring(TempString, (((Integer A) x 2) + 1), 100)) + |r))))
        Set Strings[50] = (|cffffcc00 + (Strings[50] + |r))
        Multiboard - Create a multiboard with 1 columns and 1 rows, titled Multiboard with "He...
        Set MB = (Last created multiboard)
        Multiboard - Set the display style for MB item in column 0, row 0 to Show text and Hide icons
        Multiboard - Set the width for MB item in column 1, row 1 to 15.00% of the total screen width
        Unit Group - Add Mountain King 0001 <gen> to Heroes
Code:
Update
    Events
        Time - Every 0.50 seconds of game time
    Conditions
    Actions
        Unit Group - Pick every unit in Heroes and do (Actions)
            Loop - Actions
                Set TempInteger = (Integer(((Percentage life of (Picked unit)) + 0.50)))
                Set TempInteger = (TempInteger / 2)
                Multiboard - Set the text for MB item in column 1, row 1 to Strings[TempInteger]


The result being a string with a fixed length, where the "front" part has a different color.
Sort of like a progress bar.
 

Exuro.

New Member
Reaction score
5
hmm could you upload that trigger? easier to copy there so i dont make any mistakes heh!

does it look sweet?
 

Fluffball

Well-Known Member
Reaction score
35
Just do two integer loops, For each integer A (Percentage Life) and then Integer B 100 - (Percentage Life)
 

Choppa

www.warcraft-gamers.po.gs
Reaction score
59
Here you go, mine changes the colour of the health bar too, you'll need to change things to get it to work with yours but only a few things, and if you don't know how to do that... Learn. Lol...

Umm... And a bigger hp bar might look better, so you could try double the amount there is and then minus double what it would normally, if you don't know how to do that ask me and i'll do it.

Oh and, attack the peasent.

EDIT: Uploading new system, time is uhh... 5:35 pm in New Zealand.

I'm bored, I'm going to go find something more interesting to do...
 

Attachments

  • Choppas Multiboard HPBar.w3x
    18.2 KB · Views: 68
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top