Is there an alternate way to make an item give the player another item?
I tried to use common events, but when I use an item that heals an actor from the main menu, the item window closes, I think calling a common event causes this.
Events work only on the map, not in menues - but that is usually not a problem, because no actor can own any item, it's the party that owns the items. And there is absolutely no problem with having the common event add items to the party.
If you want something else, you need to describe it better...
I made an item that recovers HP and calls a common event.
Normally, in the item menu window, I can use the item as many times I want or until I run out of it.
However, when I add the "common event" action to the item, the item menu window closes, this does not happen if the item does not have the "common event" action.
It might be better to make it a key item. That way you can't use it and then it's gone. If it draws any comparisons, the Poke Flute in Pokemon is a key item that basically lets you wake up your Pokemon for free. Maybe try going that route. Like @Andar said, you need to show us more (i.e. screenshots) to let us help you better.
I do think running common events does take you out of the menu... But you could always use a simple script call on your common event to bring ypu back...
Try something like
SceneManager.call(Scene_Item)
Or SceneManager.return
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.