• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

vJass Problem

Status
Not open for further replies.
Level 20
Joined
Jan 6, 2008
Messages
2,627
[Heyas, i made a struct for my system, but it gets the bugged box every empty multiboard got, can someone tell me what i do wrong?

JASS:
    set inv_ITEMMULTIBOARD[1] = inv.board("Claws of attack +12", "Boosts damage by 12.") // This gets shit

struct inv
    string name
    string info
    multiboard mthdmultiboard
    public static method board takes string name, string info returns multiboard
        local multiboard mthdmultiboard = CreateMultiboard()
        call MultiboardSetColumnCount(mthdmultiboard, 1)
        call MultiboardSetRowCount(mthdmultiboard, 1)
        call MultiboardSetItemsStyle(mthdmultiboard, true, false)
        call MultiboardSetItemsWidth(mthdmultiboard, 20)
        call MultiboardSetItemsValue(mthdmultiboard, info)
        call MultiboardSetTitleText(mthdmultiboard, name)
        return mthdmultiboard
    endmethod
endstruct

I SOLVED IT
- Accidently created it in initialization
 
Last edited:
Status
Not open for further replies.
Top