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.

Putting that nice new command

Hey folks G-man here, requesting help on a simple script that shows New next to a command in the menu when something is added and such. How do I go about this? if u need more info just post. many thanks in advance
EX:Kingdom Hearts II(everytime something was added it had that New next to it.
 
well, my suggestion would be that using either a module or a global variable. Example(using GV):

$items = $game_party.items

then in Scene_Menu, right before the creation of the command_window:

s1 = "Items"
s1 += "*new" if $items != $game_party.items
$items = $game_party.items

note that you don't have to record the new item list right there. I would do it when the Items menu is selected(Scene_Item).

If you want the *new in a different color, then you will have to edit Window_Command.

Hope this helps a bit, did it fast cause "Myself-musician,eventer,scripter" on your sig.
 

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