Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Simple item menu

I think this is a simple script, its just I'm not very good at scripting. Please may some of you scripting aces help me out!

Text:Hello there. I'm glad to help whenever I can.
Menu pops up. Very much like the default item menu. If switch 1 is on, a potion is in the menu(with an icon). When clicked on, the potion will disappear from this menu and be added to your invetory.

That's it! Please may someone also post how you would add different items with different switchs to the menu.

Thanks in advance

Micklo
 
Here is a better way to explain it:

There is a menu that pops up when you talk to a lady.
It is normaly blank.
If switch so and so is on, then a certain item will be on her list.
If this item is selected, it will disappear from her list and appear in your invetory.

It's sort of a reward system.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top