• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Need Help with setting string and formula.

Status
Not open for further replies.
Level 7
Joined
Dec 9, 2008
Messages
114
Well I downloaded Jass version of bars system and want to convert it to GUI, because i understand it much better then Jass/vJass. Jass Version link.
I understand that it should use strings and for example like this:
  • Actions
    • Set String_1[0] = war3mapImported\Health
    • Set String_2[0] = L
    • Set String_3[0] = .tga
    • Set Int[0] = (bla bla bla number)
  • Multiboard - Set the icon for Multibar[0] item in column 1, row 2 to (String_1[0] + (String_2[0] + ((String(Int)) + String_3[0])))
It uses 3 kinds of main images (Left, Right, Middle) so that makes it a bit more difficult. Each main image consist on 8 sub images (from empty to full).
So i can any one help me with GUI version of this system? ;D
I know i could do this in matter of time but i really suck at math and i know with help from some one i could make this system in GUI running sooner.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
I've done this many years ago.
I don't know whether it's still up-to-date, but you can try it out and I hope it fits your needs :p

I believe there's a slight bug with the images, but that's really a stupid mistake I made somewhere... unfortunately I don't have much time to fix it now, the first 2 bars work perfectly though.

(I'm probably on smallband, so the linked page takes too long to load for me...).
 

Attachments

  • Multiboard Request.w3x
    125.3 KB · Views: 41
Status
Not open for further replies.
Top