• 🏆 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!

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