Problem with Hud Maker plugin from SRDude

● ARCHIVED · READ-ONLY
Started by Solvius 10 posts View original ↗
  1. I try to show a variable in the text of his Hud maker.
    I tried this: Bread: ${$gameVariables.0001()} or Bread: ${$gameVariables.bread()}
    I tried other things to, but I can not get the amount of Bread I own. it gives a error

    Anyone a idea?

    Thnx Solvius
  2. $gameVariables.value(1)
  3. Thnx Poryg.
    Took me the whole night this :)
  4. I am trying to show a item in a text

    I did this: Bread: ${$gameParty.gainItem(2)} then it says undefined
    I also did this: Bread: ${$gameParty.Item(2)} gives a error

    Does anyone know whats the correct way to show the amount of a item in the text of Hud Maker
  5. $gameParty._items[2] || 0
    (the || 0 serves as a "Place 0 when you don't have any bread". Otherwise you'd have "undefined" there, which doesn't look nice :D)

    Next time you have a problem with finding something, launch a game, open dev console and type in $gameParty
    and then you'll see.
  6. Thnx Poryg
    Where do I type $gameParty? I see no textbox in the dev console.
  7. First you need to click on it, then you type. Screenshot_37.png
  8. Yes, that is correct. Then when you click on what jumps out as a result, it should expand and showw you all sorts of variables.
  9. ok, I have not much in the game yet so I will build more to see what happens then.

    Thnx Poryg